Encyclopedia

Chdir

Also found in: Dictionary, Medical, Legal, Financial, Acronyms.

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>
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.