1) When in DOS at the C:/, type RD (remove directory)
2) hit Enter key
C:/
C:/RD
Enter
To delete directory and sub directory in single command, use "deltree" command..
In DOS, you can delete files only by delete command. Use delete command as follows:C:\> delete For example: delete rajesh and then press enter..To remove a directory (Folder) use following command:C:\> RD For example: rd documents and then press enter..Note: Please make sure that directory is empty. You can only delete empty directory with rd command..
Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.
mkdir
RD command is used to remove a directory (folder).
rev command
MKDIR
DOSEXAFTERBREAKFAST
del *.*
type at DOS prompt CD c:\
erase
Creates a new directory or folder.