home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / bwos2_2m.zip / agx_dll.bat < prev    next >
DOS Batch File  |  1993-12-28  |  1KB  |  50 lines

  1. echo off 
  2. cls
  3. if exist \agx_dll.bat goto begin
  4. echo 
  5. echo  
  6. echo Please run AGX_DLL from the diskette drive !!
  7. echo  
  8. goto end
  9. :begin
  10. set drive=0
  11. if exist d:\os2\os2.ini set drive=D
  12. if exist e:\os2\os2.ini set drive=E
  13. if exist f:\os2\os2.ini set drive=F
  14. if exist c:\os2\os2.ini set drive=C
  15. if %drive%==0 goto askdrive
  16. echo  
  17. echo  
  18. echo The OS/2 is on drive %drive%, is this correct (Y/N) ? 
  19. getdrive
  20. rem if answer = Y, then it's good
  21. if errorlevel 89 goto ok
  22. :askdrive
  23. echo  
  24. echo  
  25. echo Which drive is the OS/2 installed, C or D or E or F ?
  26. getdrive
  27. if errorlevel 67 set drive=C
  28. if errorlevel 68 set drive=D
  29. if errorlevel 69 set drive=E
  30. if errorlevel 70 set drive=F
  31. if errorlevel 71 set drive=G
  32. if errorlevel 72 set drive=H
  33. if errorlevel 73 set drive=I
  34. if errorlevel 74 set drive=J
  35. if errorlevel 75 set drive=K
  36. if errorlevel 76 goto askdrive
  37. if exist %drive%:\os2\os2.ini goto ok
  38. echo 
  39. echo  
  40. echo  
  41. echo OS/2 not found on drive %drive% !!!
  42. goto askdrive
  43. :ok
  44. echo  
  45. echo Copying AGX drivers, please wait...
  46. cd \agx15_2
  47. unpack agxvga %drive%:\os2\dll
  48. cd \
  49. :END
  50.