Thanks, but no joy.
_str cmdline = "C:\\Program Files\\XML Notepad 2007\\XmlNotepad.exe" :+ " " :+ maybe_quote_filename (p_buf_name);
message("Launching " :+ cmdline);
pushToClipboard(cmdline);
r = shell (cmdline, "AP"); // or sth. else
message("Result " :+ r);
Here's the command line, from the clipboard:
C:\Program Files\XML Notepad 2007\XmlNotepad.exe "C:\Program Files\SlickEdit 2007\macros\cbmacros.e"
Nothing is launched; r = -2007.