I have a batch file that counts from 0-100 and echos 1-100 into a text file. but the first 9 numbers are not echoed, it just says echo is off. Can anyone help?
@echo off
:start
set /a count=%count%+1
echo %count%>>file.txt
if %count%==100 goto end
goto start
:end
pause
this is the code i am using, and the text output is below.
ECHO is off.
10
11
12
13
as you see it counts all the way to 100 after the first 9 are skipped.