home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD2.iso / SCSI / EZSCSI3 / DOSINST.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-07-04  |  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 (*.??!) 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 DOSINST.
  40. @echo.
  41.  
  42. :end
  43.