ShellExecute failing if spaces in Path
问题 I have a Delphi application that uses ShellExecute to call a second Delphi Application on a button press. The applications are stored on the same server, on the same network share. Their paths are in the format: const JobManager = 'Z:\Apps\Application 1\Application1.exe'; FeeManager = 'Z:\Apps\Application 2\Application2.exe'; The call to ShellExecute is made as follows: rh := FindWindow(PChar('TMF'), PChar('Edit Job Details')); if rh = 0 then begin ShellExecute(Handle, 'open', JobManager, nil