Term of the Moment

content security policy


Look Up Another Term


Definition: Chdir


(CHange DIRectory) An internal DOS/Windows command that changes the default folder (directory). CHDIR and CD are two forms of the command, and CD also changes directories in Unix (see Unix commands).

   C:\ANYWHERE>chdir \data
   C:\DATA

    or

   C:\ANYWHERE>cd \data
   C:\DATA


Use Double Dots to Back Up One Level
The following example moves the prompt back one level:
   C:\HIGH\LOW>chdir ..
   C:\HIGH>