home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
xbatch.zip
/
DD4.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-09-14
|
1KB
|
32 lines
BOX from 4 10 to 20 70 colors %1 %2 single
DISPLAY "The CHKSCRN command searches the screen for a text string." line 22 center clear
DISPLAY "Example: CHKSCRN \"arch\" " line 24 colors %4 %5 clear
DISPLAY "Wait - looking for text." colors %3 %2 blink line 12 center
CHKSCRN "arch"
if errorlevel == 1 goto f1
DISPLAY "Found!" line 14 center
goto next2
:f1
DISPLAY "Not found!" line 14 center
goto next2
:next2
DISPLAY " Press any key. " at 12 28 colors %3 %2
GETCHAR noecho
BOX from 4 10 to 20 70 colors %1 %2 single
DISPLAY "You can specify a line to search." line 22 center clear
DISPLAY "Example: CHKSCRN \"arch\" line 23" line 24 colors %4 %5 clear
DISPLAY "Wait - looking for text." colors %3 %2 blink line 12 center
CHKSCRN "arch" line 23
if errorlevel == 1 goto g1
DISPLAY "Found!" line 14 center
goto next3
:g1
DISPLAY "Not found!" line 14 center
goto next3
:next3
DISPLAY " Press any key. " colors %3 %2 line 12 center
GETCHAR noecho
dd5 %1 %2 %3 %4 %5