home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / ati32v11.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1993-08-31  |  615b  |  37 lines

  1. @echo off
  2. if .%1==. goto NOPARAM
  3.  
  4. goto ONEPARAM
  5.  
  6. :NOPARAM
  7. if not exist ATIM32.DSC GOTO SHOWUSAGE
  8. if not exist C:\OS2\INSTALL\DSPINSTL.EXE GOTO SHOWUSAGE
  9.  
  10. copy atim32.DSC C:\OS2\INSTALL\ATIM32.DSC
  11. dspinstl
  12. goto LASTEXIT
  13.  
  14. :ONEPARAM
  15. if not exist %1\OS2\INSTALL\DSPINSTL.EXE GOTO SHOWUSAGE
  16. if not exist ATIM32.DSC GOTO SHOWUSAGE
  17.  
  18. copy atim32.DSC %1\OS2\INSTALL\ATIM32.DSC
  19. dspinstl
  20. goto LASTEXIT
  21.  
  22. :SHOWUSAGE
  23. echo Usage :
  24. echo -------------------------
  25. echo    %0 [d] 
  26. echo and d is destination drive
  27. echo EG :
  28. echo            %0 C:
  29. echo    or      %0 D:
  30.  
  31. goto LASTEXIT
  32.  
  33. :LASTEXIT
  34.  
  35.  
  36.  
  37.