CmdID

CmdID / Commands

rd

Deletes a directory. Windows commands reference

On Windows, DOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Deletes a directory. The rd command can also run from the Windows Recovery Console, using different parameters. For more information, see Windows Recovery Environment (WinRE). NOTE: This command is the same as the rmdir command.

rd [<drive>:]<path> [/s [/q]]
cd ..
rd /s test
rd /s /q test
[<drive>:]<path>Specifies the location and the name of the directory that you want to delete. Path is required. If you include a backslash (\) at the beginning of the specified path, then the path starts at the root directory (regardless of the current directory).
/sDeletes a directory tree (the specified directory and all its subdirectories, including all files).
/qSpecifies quiet mode. Does not prompt for confirmation when deleting a directory tree. The /q parameter works only if /s is also specified. CAUTION: When you run in quiet mode, the entire directory tree is deleted without confirmation. Make sure that important files are moved or backed up before using the /q command-line option.
/?Displays help at the command prompt.

Windows

from tldr-pages, CC BY 4.0

This command is an alias of rmdir on the Command Prompt and Remove-Item in PowerShell.

Remove a directory.

Remove a directory

RD path\to\directoryIdentify