home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT045.ZIP / UTILS.EXE / CLOCK.BAT < prev    next >
DOS Batch File  |  1989-08-28  |  571b  |  29 lines

  1. echo off
  2. break on
  3. kursor off
  4. putcurs /c 4
  5. echo CLOCK.BAT - Copyright 1989, Michael A. Eissinger, All Rights Reserved
  6. echo ---------
  7. echo Real-time Batch file clock
  8. echo --------------------------
  9. echo .
  10. echo This small batch file demonstrates the use of several of the utility
  11. echo programs that make up this package, including GetResp, PutCurs, Today and Now.
  12. tone /f1000 /d150
  13. putcurs 14
  14. getyn Are you ready to continue (Y/N)?
  15. if errorlevel = 1 goto st1
  16. kursor
  17. goto xit
  18.  
  19. :st1
  20. clrbelow 7
  21. :stt
  22. putcurs 9
  23. today
  24. now /s /a
  25. goto stt
  26.  
  27. :xit
  28. kursor
  29.