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

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