I can't solved my problem
Posted: 02 Sep 2014 07:48
Hi dear sir help fix my code!
I want the code to work like this. when I input "Y" it will check "skip" if it's disable and goto :abc, if not it will goto yz
Thank you
Code: Select all
if "%skip%"=="Disable" (
echo Skip CRC check and ISO verification : %skip%
) else (
echo Skip CRC check and ISO verification : Enable
)
echo Do you want to process with this setting? Y(es) N(o)
echo ===============================================================================
echo.
set "option3="
set /P "option3="
if /i "%option3%"=="Y" (
if "%skip%"=="Disable" (
goto :abc
) else (
goto :xyz
)
if /i "%option3%"=="N" (
goto :Start
)
I want the code to work like this. when I input "Y" it will check "skip" if it's disable and goto :abc, if not it will goto yz
Thank you