Arrb February 2, 2015 at 05:03:12 Specs: Windows 7
I'm trying to read a value from a line in a text file. The line is PathID ( "NS_B_W" ) I need to get the value NS_B_W The FOR command I'm using is For /F "tokens=2 delims="" %%i in (Temp111.fil) do set Temp22=%%i I get this error 'The syntaxt of the command is incorrect'. Changing delims="" to delims= " for example gives a value of ( The command works I just need to find what to use for " as "" gives an error. Any ideas of what can be used as a substitution for " in the delim value? Thanks!
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 Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.