Well some of you might know who I am. I'm Jijee!

Alright I started working on a MultiFunction program made in .bat but there still some bugs, I don't know them.

The problem is actually this: When I open the batch it closes itself automaticly...

I've just started using batch files to after learn C++ and C#, I'm starting smooth.

Here's the code, mistakes plss ^_^

@echo off
:rofl
title MultiFunction Program v.ALPHA
cls
color 02
echo |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||
echo |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||
echo ||||||||||||||||||||||||||||||||| MultiFunction Program ||||||||||||||||||||||||||||||||||
echo |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||
echo |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||
echo ~~~Press any key to start~~~
pause
:start
echo STEPS
echo ŻŻŻŻŻŻŻŻ
echo step1) Please chose an option
echo step2) Type in the option number
echo step3) Press ENTER

echo 1. Delete CAV.exe
echo 2. Move CAV.exe to this folder
echo 3. Delete EndingBanner.exe
echo 4. Move EndingBanner.exe to this folder
echo 5. Delete all pictures from Combat Arms folder
echo 6. Combat Arms folder deleting
echo 7. Open any internet browser (ie, ff, gc)
echo section
echo 8. Exit
set INPUT=
set /P INPUT=Type a number: %=%
if "%INPUT%"=="1" goto o1
if "%INPUT%"=="2" goto o2
if "%INPUT%"=="3" goto o3
if "%INPUT%"=="4" goto o4
if "%INPUT%"=="5" goto o5
if "%INPUT%"=="6" goto o6
if "%INPUT%"=="7" goto o7
if "%INPUT%"=="8" goto exit
if "%INPUT%"=="" goto none


:exit
echo Thank you! Have a good time!
echo ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
echo ~~~Press any key~~~
pause
exit


:z
cls
goto start


:none
cls
echo Welcome to the VOID!
echo You should actually buy new glasses or learn to avoid
echo mistakes. Please type a correct number.
echo ~~~Press any key~~~
pause > nul
goto start


1
cls
echo Are you sure you want to delete CAV.exe?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto q1
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:q1
cls
echo Deleting CAV.exe...
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
del C:\Nexon\CombatArms\CAV.exe
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key~~~
pause
goto start


2
cls
echo Are you sure you want to move CAV.exe?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto w1
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:w1
cls
echo Moving CAV.exe
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
if ''%folder%''==0
set /P folder=%folder%+1
md CombatArmsTrash
move C:\Nexon\CombatArms\CAV.exe CombatArmsTrash
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key~~~
pause
goto start


3
cls
echo Are you sure you want to delete EndingBanner.exe?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto e1
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:e1
cls
echo Deleting EndingBanner.exe
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
del C:\Nexon\CombatArms\EndingBanner.exe
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key~~~
pause
goto start


4
cls
echo Are you sure you want to move EndingBanner.exe?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto e2
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:e2
cls
echo Moving EndingBanner.exe
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
if ''%folder%''==0
set /P folder=%folder%+1
md CombatArmsTrash
move C:\Nexon\CombatArms\EndingBanner.exe CombatArmsTrash
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key~~~
pause
goto start


5
cls
echo Are you sure you want to delete all pictures from the folder?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto r1
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:r1
cls
echo Deleting all pictures...
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
del C:\Nexon\CombatArms\*.jpg
del C:\Nexon\CombatArms\*.jpng
del C:\Nexon\CombatArms\*.gif
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key~~~
pause
goto start


6
cls
echo Are you sure you want to delete Combat Arms folder?
set BOOLEAN=
set /P BOOLEAN=Type Y for yes or N for no: %=%
if "%BOOLEAN%"=="y" goto k1
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:k1
cls
echo Are you REALLY REALLY sure you want to delete Combat Arms
echo folder?
set BOOLEAN=
set /P BOOLEAN=Type 29857 for yes or N for no: %=%
if "%BOOLEAN%"=="29857" goto k2
if "%BOOLEAN%"=="n" goto z
if "%BOOLEAN%"=="" goto none


:k1
cls
echo Deleting Combat Arms folder
ping localhost -n 2
echo 3
ping localhost -n 2
echo 2
ping localhost -n 2
echo 1
del C:\Nexon\CombatArms\*.jpg
echo ~~~Press any key~~~
pause
cls
echo Success!
echo ŻŻŻŻŻŻŻ
echo Warning: Do not select this option again if it have
echo already been deleted!
echo ~~~Press any key (if you want to delete the void)~~~
pause
goto start


7
cls
echo Please select your browser...
echo 1. Mozilla Firefox
echo 2. Internet Explorer
echo 3. Google Chrome
set INPUT2=
set /P INPUT2=Type a number: %=%
if "%INPUT2%"=="1" goto 01
if "%INPUT2%"=="2" goto 02
if "%INPUT2%"=="3" goto 03
if "%INPUT2%"=="" goto none


:01
cls
echo Opening Mozilla Firefox
CD ''C:\Program Files\Mozilla Firefox''
start firefox.exe
echo ~~~Press any key~~~
pause
goto start


:03
cls
echo Opening Google Chrome
CD "C:\Documents and Settings\Owner\Local Settings\Application Data\Google\Chrome\Application"
start Google Chrome.exe
echo ~~~Press any key~~~
pause
goto start



:02
cls
echo Opening Internet Explorer
CD ''C:\Program Files\Internet Explorer''
start iexplore.exe
echo ~~~Press any key~~~
pause
goto start
I'm going to add credit of course
If batch files hack/programs aren't allowed then tell me, I'm not gonna lose anything, I'll learn something

Edit01: When there's a smiley, it's actually cause my code have some smiley based caracters... The green face with a little smile is actually : o without space and without bold.