FOR %%f in (1,3,5,7,) do if errorlevel == %%f goto CASE%%f
echo ERROR goto end: CASE1
c: win goto end: CASE3
c: call 1.bat goto end: CASE5
type 0.bat |more goto end : CASE7 C: CLS DIR,/P: END
本文共 245 字,大约阅读时间需要 1 分钟。
FOR %%f in (1,3,5,7,) do if errorlevel == %%f goto CASE%%f
echo ERROR goto end: CASE1
c: win goto end: CASE3
c: call 1.bat goto end: CASE5
type 0.bat |more goto end : CASE7 C: CLS DIR,/P: END
转载于:https://www.cnblogs.com/lbnnbs/p/4781495.html