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

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