|Suppose,in my testfile.xml i have ,|
<head ip="123" />
and if i have to fetch the value of ip i.e, 123 through batch scrpiting..
i have tried the code and i am not getting the value 123 in my output
this is the code i have written in test.bat
for /F "usebackq tokens=*" %%I IN ('findstr /l "head ip=" C:\Temp\testfile.xml')
do call :readxml %%I
I am new to Batch scripting please correct me if I am wrong in the code.
Thanks in Advance