home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / mag&info / den0493.zip / DEN.BAT < prev    next >
DOS Batch File  |  1993-03-11  |  1KB  |  73 lines

  1. @ECHO OFF
  2. REM  This is a wonderful new news program that everyone in their right mind
  3. REM  needs!  Get this file!!!
  4. CLS
  5. REM call the pre menu
  6. premen.com
  7. locate 22,10
  8. echo Hit any key
  9. pause > nul
  10. shutt.com
  11. pause > nul
  12. april.com
  13. pause > nul
  14. :start
  15. REM  Call the main menu
  16. menu.com
  17. REM Locates cursor on the screen
  18. locate 21,40
  19. REM  Uses GETNUM.exe to get command from user
  20. :enternum
  21. GETNUM
  22. if errorlevel == 10 goto error
  23. if errorlevel == 9 goto exit
  24. if errorlevel == 8 goto info
  25. if errorlevel == 7 goto ads
  26. if errorlevel == 6 goto guest
  27. if errorlevel == 5 goto inter
  28. if errorlevel == 4 goto comp
  29. if errorlevel == 3 goto sports
  30. if errorlevel == 2 goto letters
  31. if errorlevel == 1 goto editor
  32. goto enternum
  33. :error
  34. locate 22,20
  35. ECHO  That is not a valid choice!  (Hit any key)
  36. pause > nul
  37. goto start
  38. :info
  39. eight.com
  40. goto start
  41. :ads
  42. seven.com
  43. goto start
  44. :guest
  45. six.com
  46. goto start
  47. :inter
  48. five.com
  49. goto start
  50. :comp
  51. comnews.com
  52. pause > nul
  53. four.com
  54. goto start
  55. :sports
  56. three.com
  57. goto start
  58. :letters
  59. mail.com
  60. pause > nul
  61. two.com
  62. goto start
  63. :editor
  64. editor.com
  65. pause > nul
  66. one.com
  67. goto start
  68. :exit
  69. end.com
  70. pause > nul
  71. endtwo.com
  72. pause >nul
  73.