即时创建游戏(黑客模拟器),我无法弄清楚如何设置和打印变量(名称)请帮助
ECHO Type Your PC Name
set /P %name%=
goto main
cls
color 02
ECHO Working
timeout /t 1 /nobreak
ECHO ...
timeout /t 1 /nobreak
ECHO ...
ECHO ip adress: 195.546.32.462
ECHO PC's connected: "youtubePC" "%name%"
set /p input=Command:
if %input%==main goto main
goto error
答案 0 :(得分:3)
你需要
set /P name=
%name%
表示name