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

  1. @echo off
  2. :: REM variation of NORTON.BAT using parameters on option line
  3. :: REM also shows help line option and header option with time & date
  4. goto start
  5.  
  6. :menu
  7.   window, bcya, oBLU, kred░, s1, m5, a, ~
  8.     h_format, bblu, t0, d0
  9.     header,Norton Utilities
  10.       option,Commander,,,,nc
  11.         help,File Management
  12.       option,Disk Doctor,,c:,\nu,ndd
  13.         help,Disk Fixer
  14.       option,Utilities,,c:,\nu,NORTON
  15.         help,File Utilities
  16.       option,Text Editor,e,,,nce
  17.         help,Norton Classic Editor 
  18.       option,Disk Editor,i,c:,\nu,diskedit
  19.         help,Sector Editor
  20.       option,Exit,x
  21.     f_format, bblu
  22. :End_menu
  23.  
  24. :start
  25. batmnu nortonp.bat %ERRLEV%         
  26. rem ERRLEV value sets default
  27.  
  28. if not "%ERRLEV%" == "" goto start  
  29. rem if ERRLEV is set, redisplay menu
  30.  
  31. if errorlevel 6 goto EXIT           
  32. rem Exit selected
  33.  
  34. if not errorlevel 1 goto EXIT       
  35. rem ESC pressed
  36.  
  37. goto start
  38.  
  39. :EXIT
  40.