This command in the Visual Studio 2010 Post-build event
for %f in ("$(ProjectDir)$(OutDir)*.dll") do echo %f
(echo will be replaced with some other tool) gives me the error
The command "[...]" exited with code 255.
I guess I have to escape the outermost round brackets but I don’t know how. I tried \( and ((.
You might need to use %%f instead of %f for the first one (and maybe the second one). In a batch file (which VS might use to implement these custom build steps), you have to use the extra % for identifiers.
Edit: here’s the first part of the output from
help foron the command line.