set val=ddd
if "%val%" == "" (
    echo 字符串为空
)
pause

 

相关文章: