home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / ark.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1995-08-07  |  1KB  |  38 lines

  1. @echo off
  2. REM *************************************************************************
  3. REM This is a OS/2 REXX script for installing ARK Logic Drivers for OS/2 Warp
  4. REM Please refer to READ.ME and User Manual for details.
  5. REM *************************************************************************
  6. echo.
  7. if "%1"=="" goto dir_err
  8. %1
  9. if "%2"=="" goto start
  10. cd %2
  11. if errorlevel 1 goto dir_err
  12. :start
  13. if not exist DSPINSTL.EXE goto not_find
  14. echo Starting DSPINSTL process for installing OS/2 Warp display drivers...
  15. dspinstl.exe
  16. goto done
  17. :not_find
  18. echo.
  19. echo DSPINSTL.EXE not found!!!
  20. echo Please make sure that you have the right drive letter and
  21. echo directory/path where the drivers reside.  Try again.
  22. echo.
  23. goto done
  24. :dir_err
  25. echo.
  26. echo Please specify the followings as the parameters.
  27. echo.
  28. echo First parameter : the drive letter where the drivers reside.
  29. echo Second parameter: (optional) the directory or path, excluding
  30. echo                   the drive letter, where the drivers reside. 
  31. echo.
  32. echo For example,
  33. echo         install  a:
  34. echo         install  c:  \mydir
  35. echo.
  36. :done
  37. @echo on
  38.