好了,所以我工作的一個項目,我這樣做,我得到的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