unexpected character while parsing XML from batch script
问题 I am getting this error when I am trying to parse XML from batch Script error : < was unexpected at this time. xml: <driver type=".dbdriver"> <attributes>localhost;1521;XE;false</attributes> <driverType>Oracle thin</driverType> </driver> <password>7ECE6B7E7D2AF514C55BAE8B3A6B51E7</password> <user>JR</user> batch scrpit: for /f "tokens=3 delims=><" %%j in ('type %SETTINGSPATH% ^| find "<user>"') do set user=%%j This code is supposed to read user value from XML which is just "JR" and on some