home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 18 / 18.iso / w / w414 / 1.ddi / TWAY.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-05-20  |  1.1 KB  |  87 lines

  1. echo off
  2. quit
  3. para_ %1 %2 %3 %4
  4. if errorlevel 17 goto fm
  5. if errorlevel 16 goto fe
  6. if errorlevel 15 goto fv
  7. if errorlevel 14 goto fa
  8. if errorlevel 13 goto jm
  9. if errorlevel 12 goto je
  10. if errorlevel 11 goto jv
  11. if errorlevel 10 goto ja
  12. goto er
  13. :ja
  14. test_
  15. if errorlevel 9 goto vga
  16. if errorlevel 3 goto ega
  17. if errorlevel 4 goto ega
  18. if errorlevel 5 goto ega
  19. if errorlevel 7 goto mono
  20. goto error
  21. :vga
  22. techfont
  23. vgadrv
  24. goto ok
  25. :ega
  26. techfont
  27. egadrv
  28. goto ok
  29. :mono
  30. techfont
  31. hercdrv
  32. goto ok
  33. :error
  34. echo Adapter is not supported !
  35. goto ok
  36. :jv
  37. techfont
  38. vgadrv
  39. goto ok
  40. :je
  41. techfont
  42. egadrv
  43. goto ok
  44. :jm
  45. techfont
  46. hercdrv
  47. goto ok
  48. :fa
  49. test_
  50. if errorlevel 9 goto fvga
  51. if errorlevel 3 goto fega
  52. if errorlevel 4 goto fega
  53. if errorlevel 5 goto fega
  54. if errorlevel 7 goto fmono
  55. goto error
  56. :fvga
  57. techfont /f
  58. vgadrv
  59. goto ok
  60. :fega
  61. techfont /f
  62. egadrv
  63. goto ok
  64. :fmono
  65. techfont /f
  66. hercdrv
  67. goto ok
  68. :error
  69. echo Adapter is not supported !
  70. goto ok
  71. :fv
  72. techfont /f
  73. vgadrv
  74. goto ok
  75. :fe
  76. techfont /f
  77. egadrv
  78. goto ok
  79. :fm
  80. techfont /f
  81. hercdrv
  82. goto ok
  83. :er
  84. echo Invalid parameters !
  85. :ok
  86.  
  87.