Batch Confirm

set /p input="确定XXX?(Y/N)"
if %input%==Y start XXX.exe
原文地址:https://www.cnblogs.com/Pagan/p/1627990.html