For the parameter, Commandyou can avoid the path through ", however this does not work if the parameter WorkingDirectoryhas a space.
Command
"
WorkingDirectory
Anyone have a solution?
Perhaps change the setting of my environment HOMEDRIVE\ HOMEPATHbefore invoking the build task, but this is terrible and probably not trivial.
HOMEDRIVE
HOMEPATH
There is no need to hide anything or do something special. This should work:
<Exec Command="Path_to_some_executable.exe" WorkingDirectory="Path to some directory\with spaces" />