Sometimes we wish to create a variety list for a few reasons however it's terribly tough to jot down its own and conjointly we would not have that abundant time. So, we have a tendency to explore shortcuts for creating a list quickly and while not doing any exertions or wasting energy. So, don't be concerned we have a tendency to provide the shortcut for generating a variety list.
So, simply follow these steps to create a variety list for you.
Step 1. Open the command prompt as administrator.
How to open the command prompt as administrator? Click here.
Step 2. Now Type “cd\” and press enter.
Step 3. for reinforcing the full method sort ”doskey” and once more press enter.
Step 4. Now copy and paste the code given below and press enter once pasting.
for /L %i in (000000,1,999999) do @echo %i >>List999999.txt
Where within the code (000000,1,999999) the '000000' is that the beginning variety, '1' is that the gap b/w 2 numbers, '999999' is that the ending variety.
Step 5. currently you got your required variety list that is found in your ‘C’ drive.
How to amend the beginning and Ending Numbers.
for /L %i in (000000,1,999999) do @echo %i >>List999999.txt
As you recognize within the code (000000,1,999999) all the variety shows there position in bracket that '000000' is that the beginning number, '1' is that the gap b/w 2 numbers, '999999' is that the ending variety, you'll conjointly amendment this variety mean beginning variety and ending variety as an example beginning variety is 222 and ending number is 9999 thus, this may conjointly work so your code is like this.
for /L %i in (222,1,9999) do @echo %i >>List999999.txt
No comments:
Post a Comment
If you have any doubts, Please let me know.