I need to execute a shell command in c++ from a window's application written in c++:
ShellExecute( NULL, _T("open"), s_param, NULL, NULL, SW_SHOW);
The s_param contains a url and the complete file path to my converted output file from this application. What I need is, say, the url = "http://www.myapp.com/home.html
" and the file path is "22C:/Documents%20and%20Se
ff". I need the s_param to be:
But at this moment, url displayed is:
How can I get rid of the "%22%22 "and replace it with "?path=" string?
Thanks a lot!