好了,所以我工作的一个项目,我这样做,我得到的confirmOne if语句,它给了我“(预计不会在这个时候。”请帮帮忙!批处理文件如果错误
许多流浪的“你到了这里!”的消息是我试图调试它的,我很快就需要这个,请帮忙,我也尝试删除零件,但它似乎仍然不起作用,如果你看到其他错误请告诉我,我需要的所有帮助我可以得到的。谢谢!
:grabInput
echo Please enter the username of the user you wish to access.
REM - } End Echoing Information/Main Menu | Grab Input {
set /p result=
goto correctName
REM - } End Grab Input | Process Input {
:correctName
set /p input=%result%
goto confirmOne
:confirmOne
echo Got to confirmOne
pause
if %input%==[] (
pause
cls
echo Oops! Looks like you didn't enter anything! Try Agian!
echo.
echo ................................................................................
echo.
goto grabInput
) ELSE (
goto confirmTwo
)
:confirmTwo
echo Got to ConfirmTwo
pause
if %input%==~help (
goto helpMenu
) ELSE (
goto confirmThree
)
:confirmThree
echo Got to ConfirmThree
if %input%==~info (
goto infoMenu
) ELSE (
goto swapDrive
)
非常感谢! – user2263904 2013-04-10 21:46:25