home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dskstruc / flop50c.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-05-25  |  2KB  |  52 lines

  1. @ECHO OFF
  2. CLS
  3. ECHO.
  4. ECHO You are preparing to INSTALL Floppy Format Version 1.2
  5. ECHO.
  6. ECHO This BATCH file will _NOT_ change your AUTOEXEC.BAT or CONFIG.SYS
  7. ECHO.
  8. ECHO.
  9. ECHO First answer a couple questions.
  10. ECHO.
  11. ECHO The FLOPPY FORMAT program is configured to run
  12. ECHO from your C:\DOS directory. 
  13. ECHO.
  14. RR F C:\DOS
  15. if errorlevel 15 ECHO C: Drive was not found!
  16. if errorlevel 3 ECHO C:\DOS was not found!
  17. if errorlevel 0 ECHO C:\DOS does EXIST!
  18. ECHO.
  19. ECHO This INSTALL procedure will copy all the necessary
  20. ECHO files to this DIRectory.
  21. ECHO.
  22. RR N "(Select N to Quit or Y to install )" YN
  23. if "%GET%"=="Y" goto INSTALL
  24. if "%GET%"=="N" goto QUIT
  25. :INSTALL
  26. ECHO.
  27. ECHO Do You Have a COLOR Monitor ?
  28. ECHO.
  29. set MONITOR=
  30. RR C " ( Select C for Color M for Mono )" CM /Vmonitor=
  31. if errorlevel 126 goto QUIT
  32. if "%MONITOR%"=="M" copy FLOP.ASC c:\dos\flop.scr
  33. if "%MONITOR%"=="C" copy FLOP.SCR c:\dos
  34. copy floppy.bat c:\dos
  35. copy rr.exe c:\dos
  36. REM Check if successful!
  37. if exist C:\DOS\FLOP.SCR ECHO FLOP.SCR copy operation SUCCESSFUL!!
  38. if not exist C:\DOS\FLOP.SCR ECHO FLOP.SCR copy operation FAILED!!
  39. if exist C:\DOS\FLOPPY.BAT ECHO FLOPPY.BAT copy operation SUCCESSFUL!!
  40. if not exist C:\DOS\FLOPPY.BAT ECHO FLOPPY.BAT copy operation FAILED!!
  41. if exist C:\DOS\RR.EXE ECHO RR.EXE copy operation SUCCESSFUL!!
  42. if not exist C:\DOS\RR.EXE ECHO copy operation FAILED!!
  43. :QUIT
  44. set MONITOR=
  45. ECHO.
  46. ECHO. If you see 3 "SUCCESSFUL" messages your Ready to Go!
  47. ECHO  To run the program go to C: 
  48. ECHO  and from DOS type in the command  FLOPPY
  49. ECHO.
  50. pause
  51. CLS
  52.