📜  yn cmd - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:36.994000             🧑  作者: Mango

代码示例1
:choice
set /P c=Are you sure you want to continue[Y/N]?
if /I "%c%" EQU "Y" goto :somewhere
if /I "%c%" EQU "N" goto :somewhere_else
goto :choice