![[Richware Logo]](../richware.jpg)
RMDIR deletes a specified directory, automatically changing the protections on the directory before deleting it. RMDIR can optionally delete all files and subdirectories underneath the target directory as well.
RMDIR is distributed as a DCL command procedure.
$ @RMDIR STUFF %DELETE-I-FILDEL, RICH$ROOT:[TEST]STUFF.DIR;1 deleted (9 blocks) $ @RMDIR -F WORK %DELETE-I-FILDEL, RICH$ROOT:[TEST.WORK]RMDIR.COM;6 deleted (9 blocks) %DELETE-W-FILNOTDEL, error deleting RICH$ROOT:[TEST.WORK]STUFF.DIR;1 -RMS-E-MKD, ACP could not mark file for deletion -SYSTEM-F-DIRNOTEMPTY, directory file is not empty %DELETE-I-FILDEL, RICH$ROOT:[TEST.WORK.STUFF]FIND_FILE.COM;5 deleted (9 blocks) %DELETE-I-FILDEL, RICH$ROOT:[TEST.WORK.STUFF]SHOW_FULL_DISKS.COM;3 deleted (9 bl ocks) %DELETE-I-TOTAL, 3 files deleted (27 blocks) %DELETE-I-FILDEL, RICH$ROOT:[TEST.WORK]STUFF.DIR;1 deleted (9 blocks) %DELETE-W-SEARCHFAIL, error searching for RICH$ROOT:[TEST.WORK...]*.*;* -RMS-E-FNF, file not found %DELETE-I-FILDEL, RICH$ROOT:[TEST]WORK.DIR;1 deleted (9 blocks) |
| Downloading Instructions: Click on View Command Procedure below, then use your browser's Save As option from the File menu to save the command procedure. |
| View Command Procedure |
|
View Online Documentation |