set answer=one if true equ true ( set answer=two echo %answer% ) echo Argument is %answer% pause 转载于:https://www.cnblogs.com/xiami303/p/4078892.html