0
我只是試圖調用一個簡單的counter.To實現,我寫了下面的腳本,但腳本只給我輸出爲「Checking」。批量調用計數器
@echo off
echo checking
goto :check
:check
for /L %%a IN (1,1,4) do (
echo %%a
if %%a == 4 (
echo a is 4 now
echo congo
goto:eof
) else (
goto :check
)