I wrote this.Any things need to improve?
@echo off
title PreInstaller 1.6(Build 13)
cls
echo My codings are bad,please accept my apologise.
pause
cls
:Start
cls
echo Are you sure you want to install Forge 1.10.2?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
set/p "cho=>"
if %cho%==Y goto F1102
if %cho%==N goto END
if %cho%==S goto S1
cls
echo Invalid choice.
pause
goto Start
:F1102
cls
start C:\EVRB.modpack\commons\forge1.10.2.exe
cls
echo Wait...
pause
:S1
cls
echo Are you sure you want to install Forge 1.8.9?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
set/p "cho=>"
if %cho%==Y goto F189
if %cho%==N goto END
if %cho%==S goto S2
cls
echo Invalid choice.
pause
goto F1102
:F189
cls
start C:\EVRB.modpack\commons\forge1.8.9.exe
cls
echo Wait...
pause
:S2
cls
echo Are you sure you want to install OptiFine 1.10.2?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
echo WARNING:You have to run normal 1.10.2 for at least once.
set/p "cho=>"
if %cho%==Y goto OF1102
if %cho%==N goto END
if %cho%==S goto S3
cls
echo Invalid choice.
goto F189
:OF1102
cls
start C:\EVRB.modpack\commons\OF1102.jar
cls
echo Wait...
pause
:S3
cls
echo Are you sure you want to install OptiFine 1.8.9?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
echo WARNING:You have to run normal 1.8.9 for at least once.
set/p "cho=>"
if %cho%==Y goto OF189
if %cho%==N goto END
if %cho%==S goto Thx
cls
echo Invalid choice.
goto OF1102
:OF189
start C:\EVRB.modpack\commons\OF189.jar
cls
echo Wait...
pause
goto Thx
:Thx
cls
echo you have installed it all.Thank you!
pause
exit
:END
cls
echo You decided to quit the installer.Wish you have a good day though :3
pause
exit
@echo off
title PreInstaller 1.6(Build 13)
cls
echo My codings are bad,please accept my apologise.
pause
cls
:Start
cls
echo Are you sure you want to install Forge 1.10.2?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
set/p "cho=>"
if %cho%==Y goto F1102
if %cho%==N goto END
if %cho%==S goto S1
cls
echo Invalid choice.
pause
goto Start
:F1102
cls
start C:\EVRB.modpack\commons\forge1.10.2.exe
cls
echo Wait...
pause
:S1
cls
echo Are you sure you want to install Forge 1.8.9?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
set/p "cho=>"
if %cho%==Y goto F189
if %cho%==N goto END
if %cho%==S goto S2
cls
echo Invalid choice.
pause
goto F1102
:F189
cls
start C:\EVRB.modpack\commons\forge1.8.9.exe
cls
echo Wait...
pause
:S2
cls
echo Are you sure you want to install OptiFine 1.10.2?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
echo WARNING:You have to run normal 1.10.2 for at least once.
set/p "cho=>"
if %cho%==Y goto OF1102
if %cho%==N goto END
if %cho%==S goto S3
cls
echo Invalid choice.
goto F189
:OF1102
cls
start C:\EVRB.modpack\commons\OF1102.jar
cls
echo Wait...
pause
:S3
cls
echo Are you sure you want to install OptiFine 1.8.9?(Press Y for Yes,N for No.S for Skip,but highly not recommended.)
echo WARNING:You have to run normal 1.8.9 for at least once.
set/p "cho=>"
if %cho%==Y goto OF189
if %cho%==N goto END
if %cho%==S goto Thx
cls
echo Invalid choice.
goto OF1102
:OF189
start C:\EVRB.modpack\commons\OF189.jar
cls
echo Wait...
pause
goto Thx
:Thx
cls
echo you have installed it all.Thank you!
pause
exit
:END
cls
echo You decided to quit the installer.Wish you have a good day though :3
pause
exit