@echo off
CLS
echo [1;37;44m
BALL /T5
:logo
MENU2 /K PRSBQ /F
if errorlevel 255 goto quit
if errorlevel 5 goto quit
if errorlevel 4 goto stats
if errorlevel 3 goto season
if errorlevel 2 goto fball
if errorlevel 1 goto play
:season
SEASON
pause
goto logo
:fball
EGAFB
goto logo
:play
MATCHD
QU QP /[23;24H[1;36;40m([37mP[36m)lay by Play or ([37mQ[36m)uick Game?
if errorlevel 2 goto fball
CLS
QUICK
PAUSE
copy gam15.sts gam.sts
PSTAT
goto logo
:stats
echo [35;44m
echo [21;41Hÿ
echo [17;27HBackup Season Stats to-B [[37mB[35m]
echo [18;27HSave Week's Games to  -B [[37mS[35m]
echo [19;27HUse/See Game stats       [[37mC[35m]
echo [20;27HStart New Season         [[37mZ[35m]
echo [21;27HReturn to MAIN MENU      [[37mR[35m]
QU BSCZR /[22;27H[1;35;44mSelect Option[37m
if errorlevel 5 goto LOGO
if errorlevel 4 goto zero
if errorlevel 3 goto change
if errorlevel 2 goto weeks
:league
cls
echo [10;20H[33mSelect ([37mN[33m)FL or ([37mR[33m)BL Leauge
QU NR /[12;20H[35mSelect Option[37m
if errorlevel 2 goto RBL
:NFL
copy NDV?.REC B:\NFL
copy NV?.rec B:\NFL
copy nfweek.dat B:\NFL
goto logo
:RBL
copy DIV?.REC B:\RBL
copy DV?.REC B:\RBL
copy week.dat B:\RBL
goto logo
:weeks
cls
echo 
echo [12;10H[32mTYPE IN "set INPUT=WEEK##" (W/O"),then F6 AND Enter when finished[36m
copy inputset.txt+con number.bat>nul
call number
echo [15;10H[36mBackup Game Stats for ([37mN[36m)FL or ([37mR[36m)BL League?
QU NR /[37m[16;30HSelect Option[36m
if errorlevel 2 goto rbstat
cls
del gam17.sts
del gam.sts
Xcopy *.sts B:\NFL\%input%
set input=
del number.bat
goto logo
:zero
cls
QU RN /[12;20H[36mSelect ([37mR[36m)BL or ([37mN[36m)FL to zero out
if errorlevel 2 goto NFL2
FOR %%A IN (DIV1.REC,DIV2.REC,DIV3.REC,DIV4.REC) DO COPY RBL %%A
FOR %%B IN (DV1.REC,DV2.REC,DV3.REC,DV4.REC) DO COPY RBR %%B
COPY WEEK0.DAT WEEK.DAT
goto logo
:rbstat
cls
del gam17.sts
del gam.sts
Xcopy *.STS B:\RBL\%input%
set input=
del number.bat
goto logo
:NFL2
FOR %%C IN (NDV1.REC,NDV2.REC,NDV3.REC,NDV4.REC,NDV5.REC,NDV6.REC) DO COPY NFL %%C
FOR %%D IN (NV1.REC,NV2.REC,NV3.REC,NV4.REC,NV5.REC,NV6.REC) DO COPY NR %%D
copy WEEK0.DAT NFWEEK.DAT
goto logo
:CHANGE
echo [33m
echo [21;41Hÿ
echo [17;27HReplace Game Stats       [[37mR[33m]
echo [18;27HSee Stats of a Game      [[37mS[33m]
echo [19;27HGame Stats of Past Weeks [[37mP[33m]
echo [20;27HReturn to LAST MENU      [[37mL[33m]
echo [21;27HReturn to MAIN MENU      [[37mM[33m]
QU RSPLM /[22;27H[1;33;44mSelect Option[37m
if errorlevel 5 goto LOGO
if errorlevel 4 goto STATS
if errorlevel 3 goto PAST
if errorlevel 2 goto SEE
:REPLACE
cls
echo 
echo [10;20H[33mThis program requires a game number selection
echo [11;20Htype in [37mSET game=GAM##[33m, then [31mF6 & Enter
echo [13;20H[37m
copy gameset.txt+con number.bat>nul
call number
copy %game%.sts gam.sts
pstat
echo [1;32;44m
echo [15;20H[33mYou have selected [37m%game%.[33m Is this OK?
QU YN /[14;20H Select ([37mY[33m)es or ([37mN[33m)o
if errorlevel 2 goto logo
copy gam17.sts gam.sts
pstat
echo [32;44m
cls
echo [12;20H[33mThe Game shown will now be [37m%game%[33m. Is this OK?
QU YN /[14;30H Select ([37mY[33m)es or ([37mN[33m)o
if errorlevel 2 goto logo
copy gam17.sts %game%.sts
set game=
del number.bat
goto logo
:see
cls
echo [10;20H[33mThis program requires a game number selection
echo [11;20HType in [37mSET game=GAM##[33m,then [31mF6 & Enter
echo [13;20H[37m
copy gameset.txt+con number.bat>nul
call number
copy %game%.sts gam.sts
pstat
set game=
del number.bat
goto logo
:past
cls
echo [10;20H[33mThis program requires a game and week number selection
echo [11;20HType in [37mSET game=GAM##[33m, then [31mF6 & Enter[37m
echo [12;20H[37m
copy gameset.txt+con number.bat>nul
echo [13;20H[33mType in [37mSET wek=week##[33m, then [31mF6 & Enter
echo [14;20H[37m
copy wekset.txt+con week.bat>nul
call number
call week
echo [16;20H[33mSelect League: ([37mN[33m)FL or ([37mR[33m)BL
QU NR /[17;20HChoose N or R
if errorlevel 2 goto RBL2
:NFL2
b:
copy nfl\%wek%\%game%.sts c:\fb\gam.sts
goto jump
:RBL2
b:
copy rbl\%wek%\%game%.sts c:\fb\gam.sts
:jump
c:
cd\fb
pstat
set game=
set wek=
del number.bat
del week.bat
goto logo
:QUIT
echo [1;37;44m
cls
cd\
