Command: rmdir
RMDIR removes (deletes) an empty directory.
Syntax:
RMDIR [drive][path]pathname
RMDIR [/?]
drive The drive letter where you want to delete a
directory, e.g. C:
path The pathname which already exists, e.g. if you are
already in a directory.
pathname The name of the directory you want to delete,
e.g. \example.
Options:
/? Shows the help
Comments:
For performance reasons RMDIR only overwrites the first letter of
each directory name / filename by a '?'. See DEL or ERASE or
DELTREE for more information. You can also use RD instead of RMDIR.
RMDIR will only delete empty directories (no files or directories
inside)! Do not forget to remove hidden files or directories!
In DOS directories are shown in capital letters and have NO ending.
RMDIR is a command internal to command.com and needs no other file
in order to work.
Examples:
You have an EMPTY directory C:\test\test2
rmdir C:\test\test2
See also:
attrib
cd
cdd
chdir
del
deltree
erase
md
mkdir
rd
undelete
File:
Please read this command's lsm file also.
You will find the updated version (internet) here and
the version described in this manual page here.
The lsm file contains information about the name of the programmer,
the download site, and some other command related information.
Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.