home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
GDEL12.ZIP
/
GDEL.DOC
next >
Wrap
Text File
|
1990-11-23
|
3KB
|
88 lines
Global Delete
by
Paul Martin
GDEL.EXE is a program that will allow you to search and delete files
in your subdirectories. GDEL operates in two modes, the first will
just delete files matching a specification in the specified
directory or current directory and all subdirectories below and the
second mode will remove empty directories as it finds them while it
is recursively searching for the pattern specified. This means that
you could tell GDEL to delete all files with the .BAK extention while
leaving empty subdirectories intact or you could delete the directory
D:\TEMP and all subdirectories below it. Since this command is so
very distructive, you will recieve a verification prompt of what is
about to be searched for and deleted where you will have a chance to
abort the command.
The format of using GDEL is:
GDEL <Directory or Search Pattern> /R
where /R will allow GDEL to delete empty directories
Some examples of using GDEL are:
GDEL A:\*.BAK Will delete all of the .BAK files found on A:
GDEL TEMP /R Will delete the directory named TEMP and all
files and subdirectories below TEMP
GDEL C:TEST\*.$$$ Will start searching for files in the TEST directory
with the $$$ extention and delete them
GDEL.EXE was written in "C" and is a bound executable. This means it
will run under OS/2 and DOS.
GDELP.EXE is a protected mode of GDEL.EXE and will only run under OS/2.
Feel free to distribute this program and make as many copies as
your heart desires, but you must not alter the program in any way
and you must distribute this documentaion file unaltered.
If you are still using this utility after two weeks of evauluating
it, I require a $15.00 registration fee. Registering will allow
you access to future updates of GDEL for up to one year.
Please send a check or money order to:
Paul Martin
901-A Ohio Pike
Cincinnati, Ohio
45245
You can also register On-Line at the CCC Bulletin Board with
VISA or MasterCard by calling:
(513)752-8248 (9600 Baud HST)
(513)752-1055 (1200-2400 Baud)
CCC BBS has 2.3 Gigs of PD Software and 9 nodes online runnning PC-Board.
If you find any bugs or have any questions, you can reach me
on CCC BBS or through USENET at pmartin@uceng.uc.edu.
**************************************************************************
* Revision List *
**************************************************************************
Revision 1.1 08/28/89
Ooops! A bug got out the door. The root paths were not being
parsed correctly. Fixed! I should have tested that new function
better. Oh well, live and learn. Also added logic to display the
filenames as they are deleted, and changed the Y/N prompt to
require a return key after pressing Y or N.
Revision 1.2 11/23/90
New Parameter /q to delete quietly and not prompt for confirmation.
USE WITH DISCRETION!
{EOF}