I\'am looking for a batch script which looks trough hundreds of XML files and extracts certain values I need. The output file can be txt.
The XML files look all like thi
You can check xpath.bat
for /f "tokens=* delims=" %%# in ('xpath "c:\my.xml" "//@testTime"') do set "testtime=%%#" for /f "tokens=* delims=" %%# in ('xpath "c:\my.xml" "//@shortNUM"') do set "shortNUM=%%#" echo %testtime% -- %shortNUM%