I\'ve spent the past 3hrs trying to work this out but just couldn\'t find a solution. Here\'s my batch script:
if NOT Exist Counter.txt GOTO START Type c:\\count
Directly from the command line:
for /L %n in (1,1,100) do @echo %n
Using a batch file:
@echo off for /L %%n in (1,1,100) do echo %%n
Displays:
1 2 3 ... 100