InfoExchange
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CHANGING COMMAND PROMPT DEFAULT DIRECTORY

Go down

CHANGING COMMAND PROMPT DEFAULT DIRECTORY Empty CHANGING COMMAND PROMPT DEFAULT DIRECTORY

Post  Admin Sat Jul 25, 2009 3:13 pm

*Here's how:
CD

Change Directory - Select a Folder (and drive)
Syntax
CD [/D] [drive:][path]
CD [..]

Key
/D : change the current DRIVE in addition to changing folder.

Examples
To change to the parent directory.
CD ..

To change to the grant-parent directory.
CD ..\..

To change to the ROOT directory.
CD \

To display the current directory in the specified drive.
Type CD <drive>:

To display the current drive and directory.
CD

Moving down the folder tree with a full path reference to the ROOT folder...
C:\winnt> CD \winnt\java
C:\winnt\java>

Moving down the folder tree with a reference RELATIVE to the current folder...
C:\winnt> CD java
C:\winnt\java>

Moving up and down the folder tree in one command...
C:\winnt\java> CD ..\system32
C:\winnt\system32>













Source:
http://ss64.com/nt/cd.html



[silent killer]

Admin
Admin

Posts : 408
Join date : 2009-04-25

https://xd627.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum