CD

RECENT NEWS

12/18/2015 - Hello! We're excited to announce that Mental Works Computing Software will soon be featuring

12/11/2015 - We're going to announce Dr.Batcher 3.0 Alpha with batch files debugger support soon. If you want to start...

News history...

TESTIMONIALS

Rob van der Woude:
"Mental Works Computing Software has created a nice tool for...

Andrew Jaritsyn:
“I used to write batch files with the help of Notepad, but...

Steve H.:
“This tool helped me to write some batch files in a couple...

More...

CD

Shows or changes the current directory. The same with CHDIR command.

Syntax:

CD [/d] [Drive:][Path]

or

CD [..]

/d – changes the current drive in addition to changing the current folder.

Drive:Path – drive (if necessary) and path to the new  folder.

.. – changes the current folder to the parent folder.

Usage:

Called without parameters, CD command shows the current directory.

You can use CHDIR instead of CD command with the same arguments.

If a subfolder’s name contains space, you should quote the whole path.

Examples:

CD /d c:\Windows

CD ..

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe