home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / batch / batmnu21.zip / NORTON.BAT < prev    next >
DOS Batch File  |  1992-07-11  |  720b  |  62 lines

  1. @echo off
  2. rem A menu within a batch file, errorlevel format
  3. c:
  4. cd \bat
  5. goto start
  6.  
  7. :menu
  8. window,fWHI,tYEL,oCYA,hRED,e,kred░,s,c
  9. title,Norton Utilities
  10. option,Commander,1
  11. option,Disk Doctor,1
  12. option,Integrator,1
  13. option,Editor,1
  14. option,Utilities,1
  15. option,Exit,2
  16. :end_menu
  17.  
  18. :start
  19. batmnu norton.bat
  20. if errorlevel 6 goto EXIT
  21. if errorlevel 5 goto NU
  22. if errorlevel 4 goto NE
  23. if errorlevel 3 goto NI
  24. if errorlevel 2 goto NDD
  25. if errorlevel 1 goto NC
  26. if errorlevel 0 goto EXIT
  27.  
  28. :NDD
  29. cls
  30. c:
  31. cd \util\norton
  32. ndd
  33. goto start
  34.  
  35. :NE
  36. cls
  37. ne
  38. goto start
  39.  
  40. :NI
  41. cls
  42. c:
  43. cd \util\norton
  44. NI
  45. goto start
  46.  
  47. :NC
  48. cls
  49. c:
  50. cd \
  51. nc
  52. goto start
  53.  
  54. :NU
  55. cls
  56. c:
  57. cd \util\norton
  58. nu
  59. goto start
  60.  
  61. :EXIT
  62.