我试过这个,但它一直返回一个错误说the syntax of the command is incorrect
。这是我尝试过的代码:
@echo off
echo Enter Username and Password to view files
set /p user=Enter UserId:
set /p pass=Enter Password:
if /i %user%==admin (if /i %pass%==*my password was here*)
(goto admin1)
:admin1
..etc..