Dan Kegel wrote:
... I also noticed that ShellExecute will sometimes try to run the executable "C:\Program" (the first word of "C:\Program Files\whatever..."). I fixed that for the case I touched, I think, but didn't do a general fix.
MSDN for CreateProcess claims that if the supplied string is not quoted, then that is the correct behavior.