delete a directory in dos

  • Thread starter Thread starter Liz
  • Start date Start date
L

Liz

can anyone tell me how to delete a directory (and its
contents)in dos
 
RD or RMDI

Open up a DOS window and type either RD /? or RMDIR /? to get an explaination.
 
start->run->cmd <enter>

C:\> rmdir /?
Removes <delete> 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

Rajiv
 
DELTREE
will remove the folder and all its contents including files and subfolders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top