Windows Batch 簡單for loop迴圈指定範圍的次數. 在Batch檔中加入以下可在cmd印出1到10。 @echo off for /l %%x in (1, 1, 10) do ( echo%%x ) pause.
確定! 回上一頁