自然写法是
C:\>"C:\Program Files\Mozilla Firefox\firefox.exe" "-profile Z:\FF3.5.7Profile" "http://www.google.com"
可以把程序正常运行起来...现在
CString tempURL;
tempURL = "http:\\www.google.com";
ShellExecute(NULL,"open","\"C:\\Program Files\\Mozilla Firefox\\firefox.exe\" \"-profile Z:\\FF3.5.7Profile\"",tempURL,NULL,SW_SHOWNORMAL);不能成功,ShellExecute正确的写法应该是怎么样?