@echo OFF
if "%1" == "good" goto enable
if "%1" == "bad" goto disable
goto enable
:enable
echo good job
goto done
:disable
echo bad job
goto done
:done
echo Done!
windows bat 文件脚本例子
最新推荐文章于 2024-07-09 20:02:56 发布
@echo OFF
if "%1" == "good" goto enable
if "%1" == "bad" goto disable
goto enable
:enable
echo good job
goto done
:disable
echo bad job
goto done
:done
echo Done!