Presentation is loading. Please wait.

Presentation is loading. Please wait.

Command Line OpSys. Command Syntax CommandActing UponModifier dirc:\windows/p VerbNounAdverb Throwthe ballquickly.

Similar presentations


Presentation on theme: "Command Line OpSys. Command Syntax CommandActing UponModifier dirc:\windows/p VerbNounAdverb Throwthe ballquickly."— Presentation transcript:

1 Command Line OpSys

2 Command Syntax CommandActing UponModifier dirc:\windows/p VerbNounAdverb Throwthe ballquickly

3 Command Examples copy c:\file1 a:\file2 md c:\temp\joe xcopy c:\budget a: /s /v

4 Navigation Changing Drives Current Drive Changing Directories [Folders] Current Working Directory Fully Qualified Path Navigating Directories

5 Changing Drives The default prompt shows current working drive and current working directory. For Example- c:\windows> [Drive Letter]: to make a different drive current. c:\windows>a: [Enter] Prompt becomes - a:\>

6 Changing Directories CD command c:\winnt>cd system32 [Enter] c:\winnt\system32> The default prompt show the current working directory.

7 Fully Qualified Path Drive Letter Colon Backslash Directory To the Desired Level Example d:\install\docs Works regardless of current drive or current working directory.

8 Navigation Shortcuts c:\winnt\system>cd.. [Enter] c:\winnt> [Moves up 1 level] c:\winnt>cd system [Enter] c:\winnt\system> [Down 1 level]

9 More Shortcuts c:\winnt\system>cd \ [Enter] c:\> [Move up to root] c:\winnt\system>cd..\system32 c:\winnt\system32 Moves to a different directory at the same level.

10 The Safe Way to Change c:\temp>cd c:\winnt\system c:\winnt\system> In batch files, you do not always know the current drive and directory. This always works.

11 Bad Command or Filename executable programs [.exe or.com] or batch files [.bat] Executable files could be in any directory The OS only looks in the current directory and the directories specified in the path variable.

12 The Path Nothing more that directory names that are stored in RAM. c:\>path c:\> PATH=c:\winnt\system32;c:\winnt; c:\winnt\system\nls;c:\batch CWD and Path are the only directories that will be searched.


Download ppt "Command Line OpSys. Command Syntax CommandActing UponModifier dirc:\windows/p VerbNounAdverb Throwthe ballquickly."

Similar presentations


Ads by Google