home *** CD-ROM | disk | FTP | other *** search
- @echo off
- ::
- :: Note use of double %% below. Double %% are used instead of single % in
- :: batch files.
- ::
- if %1.==. goto USAGE
- echo on
- ffg *:%1 %2 %3 %4 %5 %6 %7%8 %9 /eDEL%%_%%n
- @echo off
- goto END
- :USAGE
- cls
- echo USAGE: %0 [FFG criteria for files to be deleted]
- echo.
- echo For example: %0 *.[bak/tmp] /d-1T
- echo.
- echo to delete all *.BAK and *.TMP files dated yesterday or earlier.
- echo.
- :END
-