I\'m trying to do some things during the pre-build phase of a visual studio project. Specifically, I\'m trying to execute some commands on all *.resx files within the project.
Stick with the For text parser of the shell
for /f "delims=|" %%a in ('dir /B /S *.resx') do echo "%%a"
just add a delims option (for a delim character which obviously couldn't exist), et voila!
In the absense of this delims option, /f will do what it is supposed to, i.e. parse the input by splitting it at every space or tabs sequence.