CD, CHDIR commands and %CD% Variable

The CD commands changes or shows the current directory of Dos9 command prompt.

The %CD% variables expands to the current directory of Dos9 command prompt.


CD [[/d] path]
CHDIR [[/d] path]

Changes or show command prompt's current directory.

If you specify neither /d nor path, then, the CD command will output the current directory.


Expands to Dos9's current directory.


Fully compatible with cmd.exe.

Avaliable since version 0.4

See also

Variable, Specifications' Index, Command list

Dos9 manual pages, The Dos9 Project - Copyright © 2010-2014 Darkbatcher

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Please report bugs and mistakes at : <darkbatcher at dos9 dot org>