如何在新行上回答“Set / p choice”命令?(How to answer the “Set /p choice” command on new line?)
码:
@set /p choice= How are you?(answer is here) @echo %choice%? @pause期望的输出:
@set /p choice= How are you? (answer here) @echo %choice%? @pauseCode:
@set /p choice= How are you?(answer is here) @echo %choice%? @pauseDesired Output:
@set /p choice= How are you? (answer here) @echo %choice%? @pause最满意答案
是的,这很容易:
@echo off echo How are you? set /p "choice=" echo %choice%? pauseYes, this is very easy possible:
@echo off echo How are you? set /p "choice=" echo %choice%? pause更多推荐
发布评论