home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
V12N19.ZIP
/
LIST.ZIP
/
SWEEP.BAT
< prev
Wrap
DOS Batch File
|
1993-02-04
|
593b
|
20 lines
@ECHO OFF
ECHO SWEEP task [param...] - performs task on all subdirectories
IF "%1==" GOTO end
ECHO @ECHO OFF > C:\BAT\NEW.BAT
ECHO IF '%%3'=='' GOTO End >> C:\BAT\NEW.BAT
ECHO CD %%3 >> C:\BAT\NEW.BAT
ECHO CALL %1 %2 %3 %4 %5 %6 %7 %8 %9 >> C:\BAT\NEW.BAT
ECHO :End >> C:\BAT\NEW.BAT
DIR /A:D /B /S > C:\BAT\SWEEP$$$.DAT
CD >> C:\BAT\SWEEP$$$.DAT
ECHO. >> C:\BAT\SWEEP$$$.DAT
ECHO @ECHO OFF > C:\BAT\SWEEP$$$.BAT
DATE < C:\BAT\SWEEP$$$.DAT | FIND "Enter" | SORT /R >> C:\BAT\SWEEP$$$.BAT
CALL C:\BAT\SWEEP$$$
DEL C:\BAT\SWEEP$$$.?AT >NUL
DEL C:\BAT\NEW.BAT > NUL
:End