|I have a folder with xml files and in the xml files i find a specific word.|
Based on this word, a new folder is created.
This works fine.
Now i have to figure out how to move the xml file into the right folder, based on that specific word.
Can anybody help me.
Below is what i've got so far.
for /f "delims=" %%f in ('dir /b /s *.xml') do (
FOR /F "tokens=2 delims=><" %%i in ('findstr "<name>" %%f') do (
mkdir %%i )