Windows Shell Script “is was unexpected at this time.” in Command Prompt
问题 Very new to this, so I apologize if this is something simple. I am running the following .bat script in Command Prompt for an assignment. @ECHO off TITLE "KnockKnock.bat - The KnockKnock joke game!" COLOR 0E CLS ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. SET /p reply="Knock Knock! C:>" CLS IF NOT %reply% == "Who is there?" ( ECHO "Sorry, but you are not playing the game right!" GOTO :EOF) ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. ECHO. SET /p reply="Orange! C:>"