I am trying to read some info from a text file by using windows command line, and save it to a variable just like \"set info =1234\"
Below is the content of the txt
Use the for command to parse the file:
for
for /f "skip=4 tokens=2" %%l in (svninfo.txt) do ( set revision=%%l goto gotrev ) :gotrev echo revision is %revision%