Step 2CD and CHDIR Commands
Let me explain!
The CD command is used to get from one place to a completely seperate place altogether. Meaning not a subfolder, or parent folder.
To use the CD command, one must type the whole address of the directory you wish to visit.
I.E.:
CD C:\Documents and Settings\Neo\My Documents
takes me to my My Documents folder in one quick step.
The CHDIR command is used to get reach places close by without having to type in the complete address over and over.
I.E.:
CHDIR My Music
Takes me to my My Music folder.
If I were to use CD, I would have had to type
CD C:\Documents and Settings\Neo\My Documents\My Music
And that can get quite annoying after a while.
but how does one go Up a folder with the CHDIR?
You simply add two periods after the CHDIR command, and it will take you up!
CHDIR ..
Thus, with CD and CHDIR, your computer can be explored thoroughly, and easily! And when coupled with the DIR command, nothing is hidden!
EDIT:
I have just discovered that the CHDIR command us unneccessary, and the CD command can be used to access sub folders, and parent folders just as easily. But since this may not be true on older machines, I will still keep the CHDIR command up!
| « Previous Step | Download PDFView All Steps | Next Step » |
4
comments
|
Add Comment
|
![]() |
Add Comment
|












































