How to use CD/CHDIR Commands
CD/CHDIR
Purpose:Displays the name of or changes the current directory.
Syntax:CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]
Prameters: /D change the current DRIVE in addition to changing folder.
.. Specifies that you want to change to the parent directory.
Example:
CD
C:\WINDOWS\system32>cd..
C:\Windows>cd..
C:\>cd users
C:\Users>cd administrator
C:\Users\Administrator>cd desktop
CHIDR
C:\WINDOWS\system32>chdir..
C:\Windows>chdir..
CD
C:\WINDOWS\system32>cd..
C:\Windows>cd..
C:\>cd users
C:\Users>cd administrator
C:\Users\Administrator>cd desktop
CHIDR
C:\WINDOWS\system32>chdir..
C:\Windows>chdir..
C:\>chdir users
C:\Users>chdir administrator
C:\Users\Administrator>chdir desktop
C:\Users>chdir administrator
C:\Users\Administrator>chdir desktop
Comments
Post a Comment