Rmdir (Rd)

Removes (deletes) a directory. The rmdir command with the parameters listed below is only available when you are using the Recovery Console The rmdir command with different parameters is available from the command prompt.

rmdir [drive:]path

-or-

rd [drive:]path

Parameters

[drive:]path 

Specifies the location and name of the directory you want to delete. You cannot use wildcard characters.

Note

The directory must be empty or the command will fail.

Rmdir only operates within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.

Top of pageTop of page

Related Topics

Command-line reference A-Z

Recovery Console overview


Top of pageTop of page