please dont rip this site
RMDIR D)+Removing Directories

Deletes a directory.


PC-DOS 2.0+

MS-DOS equivalent: RMDIR D) (2.0+)




RMDIR [d:]path


RD [d:]path


[d:]path Specifies the drive and path of the directory

to be removed.

RD is used to remove a subdirectory that is no longer




deletes the subdirectory LETTERS.


Invalid path, not directory,

or directory not empty

Either one of the names you specified was not a directory or was

the current directory (which you cannot remove), or the directory

you are trying to remove still contains files (other than the .

and .. files) and/or subdirectories. Either check the directory

name, change to a different directory, or delete the contents of

the directory and then reissue the RMDIR command.


Use the MKDIR command to recreate a subdirectory that you

removed in error.


Only empty subdirectories may be removed. A subdirectory is

empty when . and .. are the only entries in it. Remove all files

from a subdirectory by using the DEL or ERASE command first. Only

the last subdirectory in the path you specify will be removed.

You cannot remove the subdirectory you are currently in; you must

change to another directory first. In addition, you cannot delete

the root directory.


[For related topics, press R]


CHDIR Command

DEL (DELETE) and ERASE Commands

MKDIR Command

PATH Command

TREE Command

file: /Techref/dos/command/rmdir.htm, 1KB, , updated: 1999/2/20 11:24, local time: 2024/4/20 06:05,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> dos command rmdir</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.

Welcome to!