I just tested `cmd.exe /S /C "cd "C:\Program Files\Foo" & dir"` in the Command Prompt and it seems to work ok without munging the inner quotes. Not sure it's the same when called by `system()` but it seems like it should work. Did you have a chance to try it yet?