Im writing a script so that it takes a line from a file (numbers.txt) and then converts that number into an IP
I've got it to convert a number from direct input but what i want to do is:
Take first line of file and use a first variable
Run a few commands with the variable
Once command has been run go to next line and use a next variable
I have about 1300 numbers in the numbers.txt file
so far ive got:
Code: Select all
for /F %%i in (numbers.txt) do set content=%%i
I am then not able to use the variable as it just goes to the next line and outputs it.