RD

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

RD

Removes a directory. The same with RMDIR.

Syntax:

RD [Drive:]Path [/s [/q]]

[Drive:]Path – the path to the folder to be removed.

/s – removes subdirectories of the specified directory.

/q – quiet mode: no confirmation required for deleting each folder in a directory tree.

Usage:

If you try to delete non-empty folders with RD command, it will cause an error message.

You cannot use RD command to delete the current folder.

Examples:

RD c:\EmptyDir

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe