[Richware Logo]
 
All software distributed from these pages has been released to public domain. Software may be freely copied, distributed, and modified. Software is provided as is, free of charge. The author assumes no responsibility or liability for the use of this software.


RMDIR
 

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.

Example Usage
$ @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 
Back to the  Home Page
 
©1999 by Richard D. Johnson