|Alright I'm only going to explain this once.|
You want a number that is seven digits with leading zero's right?
@echo off & setlocal enabledelayedexpansion
for /l %%a in (10000000 1 19999999) do (
What is 10000000 without the first digit????
Run it without changing it!, then you might see that it actually works.
If you choose not to believe it then figure it out yourself.