home *** CD-ROM | disk | FTP | other *** search
- RD
-
- RD is an internal command that removes a directory. The directory must be
- empty. No files or subdirectories can be in it. RD will not remove any
- subdirectories in the directory. (However, see the RDSTAR topic and the
- RECOVER command EXAMPLES topic for ways to remove subdirectories as well.)
-
- RMDIR [d:]pathname
- or
- RD [d:]pathname
-
- [d:] is the drive letter that contains the disk that has on it the directory
- you wish to delete.
-
- pathname is the name of the directory you wish to delete. If the directory
- is a subdirectory, you must specify the name of the parent directory,
- as well, unless the parent directory is the current default directory.
- \, ., and .. cannot be used.
-
- Hint: If the DIR command does not show any files in a directory, but RD
- says "directory not empty" when you try to delete it, there may be a hidden
- file in the directory. Also, there may be a disk drive letter linked to the
- directory by the SUBST command.