CHDIR

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...

CHDIR

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

Syntax:

CHDIR [/d] [Drive:][Path]

or

CHDIR [..]

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

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

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

Usage:

Called without parameters, CHDIR shows the current directory.

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

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

Examples:

CHDIR /d “c:/Program Files/Dr.Batcher”

CHDIR ..

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe