home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 2.ddi / BUNDLE / OS2_SETVGA.CMD < prev   
Encoding:
Text File  |  1993-04-03  |  2.3 KB  |  71 lines

  1. @echo off
  2. if %1. == . goto DEFAULT
  3. if %2. == . goto NONPRLD
  4. goto PRLD
  5. :NONPRLD
  6. if exist %1\os2\install\rspdspi.exe goto DSPIPRES
  7. rem *******************************************************
  8. echo Insert OS/2 Installation Diskette 8 into Drive A: and
  9. rem *******************************************************
  10. pause
  11. %1\os2\unpack a:\instaid %1 /n:rspdspi.exe
  12. goto NONPRLD
  13. :DSPIPRES
  14. %1
  15. set path=%1\;%1\os2;%1\os2\install
  16. set dpath=%1\;%1\os2;%1\os2\install
  17. %1\os2\install\rspdspi /pk:VGA /sk:NONE /s:a:\ /t:%1
  18. cls
  19. del %1\os2\svgadata.pmi
  20. goto END
  21. :PRLD
  22. if %2. == /p. goto DOPRLD
  23. if %2. == /P. goto DOPRLD
  24. goto NONPRLD
  25. :DOPRLD
  26. set path=%1\;%1\os2;%1\os2\install
  27. set dpath=%1\;%1\os2;%1\os2\install
  28. %1
  29. %1\os2\install\rspdspi /pk:VGA /sk:NONE /s:%1\os2\install\dspdrvs /t:%1
  30. cls
  31. del %1\os2\svgadata.pmi
  32. @ECHO ON
  33. %1\os2\unpack.exe %1\os2\install\drivers\bitmap.vga %1
  34. %1\os2\unpack.exe %1\os2\install\drivers\courier.bmp %1 /n:courier.bga
  35. %1\os2\unpack.exe %1\os2\install\drivers\helv.bmp %1 /n:helv.bga
  36. %1\os2\unpack.exe %1\os2\install\drivers\sysmono.bmp %1 /n:sysmono.fon
  37. %1\os2\unpack.exe %1\os2\install\drivers\times.bmp %1 /n:times.bga
  38. %1\os2\unpack.exe %1\os2\install\drivers\courpsf %1
  39. %1\os2\unpack.exe %1\os2\install\drivers\helvpsf %1
  40. %1\os2\unpack.exe %1\os2\install\drivers\timespsf %1
  41. %1\os2\unpack.exe %1\os2\install\drivers\serife.fon %1
  42. %1\os2\unpack.exe %1\os2\install\drivers\sserife.fon %1
  43. %1\os2\unpack.exe %1\os2\install\drivers\coure.fon %1
  44. %1\os2\unpack.exe %1\os2\install\drivers\symbole.fon %1
  45. %1\os2\unpack.exe %1\os2\install\drivers\smalle.fon %1
  46. copy %1\os2\dll\courier.bga %1\os2\dll\courier.fon
  47. del  %1\os2\dll\courier.bga
  48. copy %1\os2\dll\helv.bga %1\os2\dll\helv.fon
  49. del  %1\os2\dll\helv.bga
  50. copy %1\os2\dll\times.bga %1\os2\dll\times.fon
  51. del  %1\os2\dll\times.bga
  52. @ECHO OFF
  53. goto END
  54. :DEFAULT
  55. if exist c:\os2\install\rspdspi.exe goto DEFDSPI
  56. rem *******************************************************
  57. echo Insert OS/2 Installation Diskette 8 into Drive A: and
  58. rem *******************************************************
  59. pause
  60. c:\os2\unpack a:\instaid c: /n:rspdspi.exe
  61. goto DEFAULT
  62. :DEFDSPI
  63. set path=c:\;c:\os2;c:\os2\install
  64. set dpath=c:\;c:\os2;c:\os2\install
  65. c:
  66. c:\os2\install\rspdspi /pk:VGA /sk:NONE /s:a:\ /t:c:
  67. cls
  68. del c:\os2\svgadata.pmi
  69. goto END
  70. :END
  71.