running an external application from within mql5 and sending arguments to that
sd2000sd:
I want to be able to run an external app like : notepad.exe using ShellExecuteW() and send an argument like : c:\sample.txt to that.
Note that ShellExecute lpParameters is the field for such parameters.
So just try this:
string myRunPath="notepad.exe"; string myFile="c:\\sample.txt"; ShellExecuteW(0,0,myRunPath,myFile,0,SW_SHOW);
I want to be able to run an external app like : notepad.exe using ShellExecuteW() and send an argument like : c:\sample.txt to that.
I mean:
notepad.exe c:\sample.txt
How can I send arguments to that?
I use:
and :
but these line does not work:
//but these line does work(without arguments):