|How do I format the For command?|
I have this in my script.
for /F "tokens=1-3" %a in (C:\data.txt) do set %a
I am trying to get it to read the first 3 lines of a text file.
and make those variables inside my batch file. the batch file will use the pause command after this. After i load my batch file it just closes.