[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.


ONE


ONE is a utility which purges all but the most recent version of the specified file(s) and renames it to version 1. You may optionally specify wildcards in the filename.

ONE is distributed as a DCL command procedure.

Example Usage
$ ONE
%ONE-W-ALLFILES, Processing all files in current directory
%ONE-S-PURGED, File purged: RICH$ROOT:[COM.TMP]CAPITALIZE.COM
%ONE-S-PURGED, File purged: RICH$ROOT:[COM.TMP]CLEAN_QUEUES.COM
%ONE-S-PURGED, File purged: RICH$ROOT:[COM.TMP]DSMRMS.COM
%ONE-S-PURGED, File purged: RICH$ROOT:[COM.TMP]UPTIME.COM
%ONE-S-FILES, 4 file(s) purged

$ ONE LOGIN.*
%ONE-S-PURGED, File purged: RICH$ROOT:[000000]LOGIN.COM
%ONE-S-PURGED, File purged: RICH$ROOT:[000000]LOGIN.LIS
%ONE-S-PURGED, File purged: RICH$ROOT:[000000]LOGIN.LOG
%ONE-S-FILES, 3 file(s) purged
$ DIR LOGIN.*

Directory RICH$ROOT:[000000]

LOGIN.COM;1          LOGIN.LIS;1          LOGIN.LOG;1

Total of 3 files.
 



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


©1998 by Richard D. Johnson