home *** CD-ROM | disk | FTP | other *** search
/ MS-DOS 8.0 / MS-DOS8.iso / winins.BAT < prev   
DOS Batch File  |  2021-01-01  |  1KB  |  41 lines

  1. echo off
  2. cls
  3. echo.
  4. echo                    +=================================+
  5. echo                    / What would you like to install? \
  6. echo                    +=================================+
  7. echo                    \                                 /
  8. echo                    /       1 - Windows 3.0           \
  9. echo                    \       2 - Windows 3.1           /
  10. echo                    /       3 - Windows 3.11          \
  11. echo                    \       4 - Windows 3.1 WFW       /
  12. echo                    /       5 - Windows 3.11 WFW      \
  13. echo                    \       6 - Exit                  /
  14. echo                    /                                 \
  15. echo                    +---------------------------------+
  16. echo.
  17. choice /n /c:123456 "pick a number (1, 2, 3, 4, 5, or 6)"
  18. echo.
  19. if errorlevel 6 goto end
  20. if errorlevel 5 goto five
  21. if errorlevel 4 goto four
  22. if errorlevel 3 goto three
  23. if errorlevel 1 goto two
  24. if errorlevel 1 goto one
  25. :one
  26. e:\windows\win30\setup.exe
  27. goto end
  28. :two
  29. e:\windows\win31\setup.exe
  30. goto end
  31. :three
  32. e:\windows\win311\setup.exe
  33. goto end
  34. :four
  35. e:\windows\w31wfw\setup.exe
  36. goto end
  37. :five
  38. e:\windows\w311wfw\setup.exe
  39. goto end
  40. :end
  41.