cuando paso a cualquiera de los menus secundarios aborta
algun consejo???
thx
Código
@echo off
:menuprincipal
echo. 1.
echo. 2.
echo. 3.
echo. 4.
echo. 5.
echo. 6.
echo. 7.
echo. 8.
echo. 9.
set/p eleccion =
IF %eleccion%==1 (GOTO menu1)
if %eleccion%==2 (GOTO menu2)
if %eleccion%==3 (GOTO menu3)
if %eleccion%==4 (GOTO menu4)
if %eleccion%==5 (GOTO menu5)
if %eleccion%==6 (GOTO menu6)
if %eleccion%==7 (GOTO menu7)
if %eleccion%==8 (GOTO menu8)
if %eleccion%==9 (GOTO menu8)
PAUSE
:menu2
pause
echo. 1.
echo. 0.
set/p Eleccion2 = elige
if %Eleccion2%=2 start "C:\lo que sea"
if %Eleccion2%=0 GOTO(menu1)
:menu3
pause
echo. 1.
echo. 0.
set/p Eleccion3 = elige
if %Eleccion2%=1 start "C:\lo que sea"
if %Eleccion2%=0 GOTO(menu1)
:menu4
pause
echo. 1.
echo. 0.
set/p Eleccion4 = elige
if %Eleccion2%=1 start "C:\lo que sea"
if %Eleccion2%=0 GOTO(menu1)
:menu5
pause
echo. 1.
echo. 0.
set/p Eleccion5 = elige
if %Eleccion2%=1 start "C:\lo que sea"
if %Eleccion2%=0 GOTO(menu1)










Autor


En línea





