home *** CD-ROM | disk | FTP | other *** search
- ----------------------- RMDIR - Internal DOS Command -------------------------
-
- RMDIR removes a subdirectory.
-
- FORMAT: RMDIR [d:]path or RD [d:]path
-
- REMARKS:
-
- d: - the drive letter. If omitted, the default drive is assumed.
- path - the directory to be removed. The last directory specified is the
- one removed.
-
- The directory must contain no files other than the "." and ".." files
- that DOS placed there when the directory was created. Thus, you must ERASE
- all files in the subdirectory before executing a RMDIR command.
-
- The root directory and the current directory cannot be removed.
-
- EXAMPLES:
-
- Remove the DATA subdirectory from the disk in drive B. DATA is a subdirectory
- of the BUDGET directory. BUDGET is a subdirectory of the root directory. The
- default drive is A:
-
- RMDIR B:\BUDGET\DATA
-
-
- Remove the BUDGET subdirectory from the disk in drive A. BUDGET is a
- subdirectory of the root directory. The default drive is A and the current
- directory is the root directory:
-
- RMDIR \BUDGET