home *** CD-ROM | disk | FTP | other *** search
/ PC Format 4 / Disk4.iso / A / PCF.BAT < prev    next >
DOS Batch File  |  1991-11-20  |  1KB  |  106 lines

  1. echo off
  2. cls
  3.  
  4. :start
  5. nocurs
  6. disp pcfiss4 2
  7. getkey xfvc
  8.  
  9. if errorlevel 4 goto cisco
  10. if errorlevel 3 goto vgacad
  11. if errorlevel 2 goto freecell
  12. if errorlevel 1 goto quit
  13.  
  14. :cisco
  15. cisco
  16. goto start
  17.  
  18. :vgacad
  19. disp pcfiss41 2
  20. getkey abcm
  21.  
  22. if errorlevel 4 goto start
  23. if errorlevel 3 goto ccopy
  24. if errorlevel 2 goto bcopy
  25. if errorlevel 1 goto acopy
  26.  
  27. :acopy
  28. cls
  29. echo Please insert a blank formated disk in drive A
  30. echo Do you wish to continue (Y/N)
  31. getkey yn
  32. if errorlevel 2 goto vgacad
  33. if errorlevel 1 goto ai 
  34. :ai
  35. copy vcad.exe a:\
  36. ai:
  37. vcad
  38. vgacad
  39. goto start
  40.  
  41. :bcopy
  42. cls
  43. echo Please insert a blank formatted disk in drive B
  44. echo Do you wish to continue (Y/N)
  45. getkey yn
  46. if errorlevel 2 goto vgacad
  47. if errorlevel 1 goto bi
  48. :bi
  49. copy vcad.exe b:\
  50. b:
  51. vcad
  52. vgacad
  53. goto start
  54.  
  55. :ccopy
  56. cls
  57. echo This will create a directory on your hard drive called VGACAD
  58. echo and install the program there.
  59. echo Do you wish to continue (Y/N)
  60. getkey yn
  61. if errorlevel 2 goto vgacad
  62. if errorlevel 1 goto ci
  63.  
  64. :ci
  65. cls
  66. echo is this disk in drive A or B (A/B)
  67. getkey ab
  68. if errorlevel 2 goto cb
  69. if errorlevel 1 goto ca
  70.  
  71. :ca
  72. echo on
  73. md c:\vgacad
  74. copy vcad.exe c:\vgacad
  75. c:
  76. cd vgacad
  77. vcad
  78. vgacad
  79. echo off
  80. a:
  81. goto start
  82.  
  83. :cb
  84. echo on
  85. md c:\vgacad
  86. copy vcad.exe c:\vgacad
  87. c:
  88. cd vgacad
  89. vcad
  90. vgacad
  91. echo off
  92. b:
  93. goto start
  94.  
  95. :freecell
  96. cls
  97. freecell
  98. goto start
  99.  
  100. :quit
  101. cls
  102. echo thankyou for using the PCF Cover Disk.
  103. cd\
  104. pause
  105.  
  106.