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

  1. @echo off
  2. rem  ** Install WordPerfect drivers for SpeedStar 24x
  3. rem  ** %1 is GIS.EXE path  %2 is destination
  4.  
  5. rem  ** Check for 78k of free disk space
  6. %1\ds.exe %2 78
  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  ** Directory exists, so let's self-extract to destination
  17. %1\drivers\wp.exe %2
  18. goto Quit
  19.  
  20. :FreeSpace
  21. rem  ** DS returned insufficient disk space
  22. echo An error has occured checking for disk space.  Please make sure you
  23. echo have at least 78k of free disk space on the destination drive.
  24. echo.
  25. echo Drivers installation ABORTED.
  26. pause
  27.  
  28. :Quit
  29.