home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / xbatch.zip / DD4.BAT < prev    next >
DOS Batch File  |  1988-09-14  |  1KB  |  32 lines

  1. BOX from 4 10 to 20 70 colors %1 %2 single
  2. DISPLAY "The CHKSCRN command searches the screen for a text string." line 22 center clear
  3. DISPLAY "Example:  CHKSCRN \"arch\" " line 24 colors %4 %5 clear
  4. DISPLAY "Wait - looking for text." colors %3 %2 blink line 12 center
  5. CHKSCRN "arch"
  6.   if errorlevel == 1  goto f1
  7.   DISPLAY "Found!" line 14 center
  8.   goto next2
  9. :f1
  10.   DISPLAY "Not found!" line 14 center
  11.   goto next2
  12. :next2
  13. DISPLAY "     Press any key.     " at 12 28 colors %3 %2
  14. GETCHAR noecho
  15.  
  16. BOX from 4 10 to 20 70 colors %1 %2 single
  17. DISPLAY "You can specify a line to search." line 22 center clear
  18. DISPLAY "Example:  CHKSCRN \"arch\" line 23" line 24 colors %4 %5 clear
  19. DISPLAY "Wait - looking for text." colors %3 %2 blink line 12 center
  20. CHKSCRN "arch" line 23
  21.   if errorlevel == 1  goto g1
  22.   DISPLAY "Found!" line 14 center
  23.   goto next3
  24. :g1
  25.   DISPLAY "Not found!" line 14 center
  26.   goto next3
  27. :next3
  28. DISPLAY "     Press any key.     " colors %3 %2 line 12 center
  29. GETCHAR noecho
  30.  
  31. dd5 %1 %2 %3 %4 %5
  32.