home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 010 / batmnu24.zip / NORTONV.BAT < prev    next >
DOS Batch File  |  1993-11-11  |  1KB  |  57 lines

  1. @echo off
  2. :: REM A menu within a batch file, Option Environment Variable format
  3. :: REM When using this method, you must be sure that each option has a
  4. :: REM difference in the group of characters you are using. Note that
  5. :: REM the 5th option has been changed from what it was in NORTON.BAT 
  6. :: REM and NORTONP.BAT so it wouldn't conflict with the second option.
  7. :: REM Also remember that DOS only considers the first 8 characters of
  8. :: REM a label and that a space is considered the end of a label.
  9. :: REM e.g. "goto Commander" is equal to "goto Commande" and
  10. :: REM      if you use "v6sub", "goto Disk D" is the same as "goto Disk"
  11. goto start
  12.  
  13. :menu
  14.   window, fWHI, tYEL, kred░, s1, ~, v4SUB
  15.     title,Norton Utilities
  16.       option,Commander
  17.       option,Disk Doctor
  18.       option,Utilities
  19.       option,Text Editor,e
  20.       option,Sector Editor
  21.       option,Exit,x
  22. :End_menu
  23.  
  24. :start
  25. batmnu nortonv.bat
  26. goto %sub%
  27.  
  28. :Comm
  29. nc
  30. goto start
  31.  
  32. :Disk
  33. c:
  34. cd \nu
  35. ndd
  36. goto start
  37.  
  38. :Util
  39. c:
  40. cd \nu
  41. Norton
  42. goto start
  43.  
  44. :Text
  45. nce
  46. goto start
  47.  
  48. :Sect
  49. c:
  50. cd \nu
  51. diskedit
  52. goto start
  53.  
  54. :Exit
  55. :Esc
  56. set sub=
  57.