home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dirutl
/
purgtre1.arc
/
PURGE.DOC
< prev
next >
Wrap
Text File
|
1988-10-07
|
664b
|
21 lines
PURGE *.BAK deletes given files in the current tree and below.
PURGE \*.BAK starts deleting at the root and covers all subdirectories.
Acknowledgement:
the file finding part of the progam is from PC Magazin #3 8-Jan-86
Kloten November 86 Hans ZURFCC::ZANGGER
v1.1, 9 Oct 88
- Tweaked, tightened
- No real functional changes
By the way, this works fine with tricky pathing, like:
PURGE ..\*.BAK starts at root directory, current drive,
works through all subdirectories.
In other words, you don't HAVE to be in root directory to force
a queried purge of all subdirectories.
David Kirschbaum
Toad Hall
kirsch@braggvax.ARPA