I think i just worked it out...

$(TargetDir) ends with a trailing slash for ?convenience?

But this trailing slash seems to be escaping the next quote, meaning that ?DOS? is thinking the call to:

ListArgs.exe "C:\windows\"

is one argument of: c:\windows"


This is nearly the stupidest thing i've ever seen.. how to work around that?