home *** CD-ROM | disk | FTP | other *** search
/ Software One-Stop 3 / BOOTCDROM.iso / install / scsi400 / install.bat < prev    next >
Encoding:
DOS Batch File  |  1995-10-19  |  1.2 KB  |  43 lines

  1. @echo ╔═══════════════════════════╗
  2. @echo ║  EZ-SCSI is initializing. ║
  3. @echo ║  Please wait...           ║
  4. @echo ╚═══════════════════════════╝
  5. @echo off
  6. if NOT exist ezscsi.ex_ goto chgdrive
  7. if NOT exist ezscsi.cw_ goto chgdrive
  8. if NOT exist ezscsi.hl_ goto chgdrive
  9.  
  10. mkdir c:\ezscsi.tmp > nul
  11.  
  12. for %%f in (ez*.??_) do expand %%f c:\ezscsi.tmp > nul 
  13. for %%f in (c:\ezscsi.tmp\*.ex_) do rename %%f *.exe 
  14. for %%f in (c:\ezscsi.tmp\*.cw_) do rename %%f *.cwa
  15. for %%f in (c:\ezscsi.tmp\*.hl_) do rename %%f *.hlp
  16. for %%f in (c:\ezscsi.tmp\*.ez_) do rename %%f *.ez 
  17.  
  18. if NOT exist c:\ezscsi.tmp\ezscsi.exe goto fail
  19. if NOT exist c:\ezscsi.tmp\ezscsi.cwa goto fail
  20. if NOT exist c:\ezscsi.tmp\ezscsi.hlp goto fail
  21. if NOT exist c:\ezscsi.tmp\*.ez goto fail
  22. c:\ezscsi.tmp\ezscsi %1 %2 %3 %4
  23. goto success
  24.  
  25. :fail
  26. @echo.
  27. @echo Unable to decompress the installation utility to your hard drive.
  28. @echo Please make sure your C: drive has at least 770K of free disk space.
  29. @echo.
  30.  
  31. :success
  32. for %%f in (c:\ezscsi.tmp\*.*) do del %%f  
  33. rmdir c:\ezscsi.tmp
  34. goto end
  35.  
  36. :chgdrive
  37. @echo.
  38. @echo Please change to the drive and directory where the installation program
  39. @echo resides, then type INSTALL.
  40. @echo.
  41.  
  42. :end
  43.