home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m067 / 1.img / BATCH / VCAD54.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-06-29  |  728 b   |  31 lines

  1. @echo off
  2. rem  ** Install VersaCAD v5.4 drivers for SpeedStar 24x
  3. rem  ** %1 is GIS.EXE path  %2 is destination
  4.  
  5. rem  ** Check for 62k of free disk space
  6. %1\ds.exe %2 62
  7. if errorlevel==2 goto FreeSpace
  8.  
  9.  
  10. rem ** Check for directory existance
  11. cls
  12. %1\md2 %2 > nul
  13. if errorlevel==1 goto InstallError
  14. if errorlevel==0 goto CopyFiles
  15.  
  16. :CopyFiles
  17. rem  ** GIS checks for directory, so let's self-extract to destination
  18. %1\drivers\vcad54.exe %2
  19.  
  20. goto Quit
  21.  
  22. :FreeSpace
  23. rem  ** DS returned insufficient disk space
  24. echo An error has occured checking for disk space.  Please make sure you
  25. echo have at least 62k of free disk space on the destination drive.
  26. echo.
  27. echo Drivers installation ABORTED.
  28. pause
  29.  
  30. :Quit
  31.