CODE: [Copy to clipboard]@echo off set env=1 if "%env%"=="1" ( echo env是1 echo env真的是1 ) else ( echo env不是1 echo env真的不是1 )