home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / dirutl / audit.arc / AUDIT.BAT next >
DOS Batch File  |  1988-02-28  |  952b  |  38 lines

  1. echo off
  2. if %1. == . goto BadParm
  3. echo ╔══╡BEGINNING AUDIT╞══════════════════════════════╗
  4. echo ║ You may turn on the printer by holding down the ║
  5. echo ║ [Ctrl] key while pressing [PrtSc].  I will wait ║
  6. echo ║ for you to press any key to give you a chance.  ║
  7. echo ╚═══════════════════╪═════════════════════════════╝
  8. echo       ┌─────────────┘
  9. pause
  10. :LoopTop
  11. %1:
  12. cd \
  13. echo Audit Beginning on drive %1:
  14. VTREEHP
  15. echo 
  16. echo 
  17. UNUSUAL
  18. shift
  19. if not %1. == . goto LoopTop
  20. echo 
  21. echo The Audit is done.
  22. echo You may now press [Ctrl] and [PtrSc] to turn
  23. echo the printer off.  Thank you.
  24. pause
  25. goto :End
  26. :BadParm
  27. echo Missing Parameter: Drive specification!
  28. echo 
  29. echo Please enter the command again, with a drive
  30. echo name (EXCLUDING colon!)
  31. echo 
  32. echo For example:      %0 C
  33. echo 
  34. echo You may list more than one drive if you wish, such as %0 C D E
  35. echo to audit those drives as well.
  36. echo 
  37. echo Thank You.
  38. :End