home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR3
/
EDEL112.ZIP
/
EDEL.DOC
next >
Wrap
Text File
|
1993-11-01
|
5KB
|
132 lines
EDEL - Enhanced Delete Utility
EDEL is a copyrighted work by:
Lawrence G. Martin
HC11 Box 625
Meadville, PA 16335
Please see the files LICENSE.TXT and REGISTER.TXT for the
terms and condition which apply to your usage of the EDEL
program.
EDEL is a powerful replacement for the DOS DELETE command.
It will accomplish the same functions as DELETE will, but
has some very powerful extensions. With EDEL it is possible
to remove all files (including hidden, system, and read-only)
and directories on a disk or diskette with one command.
Files can be deleted based upon the the age of the
file. A preview of files which would be deleted can also be
obtained.
EDOS requires DOS version 2.00 or higher to operate.
To obtain a printed copy of this file you may use the follow-
ing command:
copy edel.doc LPT1 or
copy edel.doc PRN or
copy edel.doc LPT2 (if your printer is on LPT2)
EDEL USAGE
EDEL [options] filespec(s)
where:
options - the option or options that you want to be in effect
for this execution of the program. See below for a
description of each option.
filespec(s) - 1 to 20 file specifications describing the
files that are to be deleted. Each filespec
may contain a drive and or path.
EDEL Options:
/A - Delete files based on file age.
Specifies the age of files to be deleted in days,
months or years. This option is specified as
/A##X where ## is a number representing the file age
in days, months, or years and X is a D, M, or Y to
specify that ## is Days, Months, or Years. The age
date is computed by subtracting the number of days,
months, or years from the current system date. All
files with a file date equal to or less than the age
date will be deleted if they qualify based on
filespec(s).
/E - Empty subdirectories
Will cause all empty subdirectories within the range
of filespec to be removed.
/N - Nothing
Use this option to get a preview of the file(s) that
would be deleted.
/P - Prompt
This option will prompt you for a Yes/No response for
every file selected. You may choose to allow it to be
deleted or you may opt to keep the file.
/Q - Quiet
EDEL will by default list the full file spec of every
file deleted. This option will cause EDEL to delete
the files without a display of the file specs as they
are deleted.
/S - Subdirectories
This option will cause all files in all subdirectories
which are children to the directory specified in
filespec to be processed.
EDEL USAGE (Continued)
/Y - Yes assumed
When all files in a directory are to be deleted EDEL
will normally ask you if you are sure just as DELETE
does. Specifying this option will bypass that prompt.
/Z - Zap
Causes hidden, system and read only files to be
subject to deletion based on filespec.
Command syntax:
Options must be separated from filespec(s) by at least 1
space. When multiple filespec(s) are used they too must
be separated by at least 1 space.
Options may be specified seperately (/E /Y /Z or /E/Y/Z)
or they may be all specified together (/EYZ).
Following are some examples:
EDEL A:\*.* /Z /E /S /Y or
EDEL A:\*.* /Z/E/S/Y or
EDEL A:\*.* /ZESY
This would cause all files(including hidden, system, and
read-only) and subdirectories on the diskette in drive a
to be deleted with no prompts.
EDEL \MAIL\*.msg /a7d /s /e or
EDEL \MAIL\*.msg /a7d/s/e or
EDEL \MAIL\*.msg /a7dse
Delete all .msg files that are 7 or more days old, on
the current drive, in the directory named MAIL and it's
subdirectories. All empty subdirectories that are
children to mail will also be removed.
Caution: An entire disk can quickly be deleted with the power
of this command. Be careful!! Using the /N option
will let you preview the results of your options
without actually deleting any files.