home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 14 / 1996-01_Disc_14.iso / install / checkcd.bat < prev    next >
DOS Batch File  |  1995-08-30  |  637b  |  29 lines

  1. @echo off
  2. if not "%0"=="CheckCD" goto Abort
  3. if "%1"=="" goto Abort
  4.  
  5. echo Checking for Torin's Passage CD in drive %1:
  6. if exist %1:\tordemo. goto Exit
  7. cls
  8. echo Please put the Torin's Passage CD into your CD-ROM and then
  9. pause
  10.  
  11. :LoopCheck
  12. if exist %1:\tordemo. goto Exit
  13. echo.
  14. echo Unable to detect the Torin's Passage CD in drive %1:.
  15. echo You may abort this looping test by pressing Ctrl-C or
  16. echo insert the CD into your CD-ROM and then
  17. pause
  18. goto LoopCheck
  19.  
  20. :Abort
  21. echo.
  22. echo This batch file is used automatically by
  23. echo Torin's Passage. Please do not run it from
  24. echo the DOS command line.
  25. echo.
  26.  
  27. :Exit 
  28.  
  29.