The following script generates numbers from 0000 to 5000 prefixing each number with the proper amount of zeroes. So coded it has no practical usage, but obviously you know what you are trying to achieve.
@echo off & setlocal EnableDelayedExpansion
for /L %%j (0 1 5000) do (
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.