Category : Batch File Utilities - mostly for DOS
Archive   : BATMNU21.ZIP
Filename : NORTON.BAT

 
Output of file : NORTON.BAT contained in archive : BATMNU21.ZIP

@echo off
rem A menu within a batch file, errorlevel format
c:
cd \bat
goto start

:menu
window,fWHI,tYEL,oCYA,hRED,e,kred°,s,c
title,Norton Utilities
option,Commander,1
option,Disk Doctor,1
option,Integrator,1
option,Editor,1
option,Utilities,1
option,Exit,2
:end_menu

:start
batmnu norton.bat
if errorlevel 6 goto EXIT
if errorlevel 5 goto NU
if errorlevel 4 goto NE
if errorlevel 3 goto NI
if errorlevel 2 goto NDD
if errorlevel 1 goto NC
if errorlevel 0 goto EXIT

:NDD
cls
c:
cd \util\norton
ndd
goto start

:NE
cls
ne
goto start

:NI
cls
c:
cd \util\norton
NI
goto start

:NC
cls
c:
cd \
nc
goto start

:NU
cls
c:
cd \util\norton
nu
goto start

:EXIT