Deleting unwanted directories in Windows

Entire directories and their contents, including sub-directories, are easily deleted. I put this here in case you test MultiBackup and create unneeded backup directories.


In the Windows graphical interface, right-click on the directory icon, and select "delete" from the pop-up menu.


In a Command Prompt window, use "rmdir" with the "/s" (subdirectories) option. What follows is a Command Prompt window session that first displays the command syntax for RMDIR and then deletes the C:\MultiBackup\temp directory and all of its contents including any sub-directories. The two typed commands are shown in bold.

C:\MultiBackup>rmdir/?
Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path

/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S

C:\MultiBackup>rmdir/s temp
temp, Are you sure (Y/N)? y

C:\MultiBackup>