how can i use mql to run extern ".exe" program - page 2

 
gooly:

Which error?


now I have no errors put it doesn't work! it doesn't  open the notepad++!
 
gooly:

Which error?


   MessageBox(ShellExecuteW(0,"open","C:\Program Files (x86)\Notepad++\notepad++.exe",NULL,NULL,10));
 
Google would have given you e.g. this url.
 
gooly: Google would have given you e.g. this url.
  1. That link (Syntax for calling AutoIt compiled Script (.exe) using ShellExecuteW in MT4 EA (Quest) - MQL4 forum) would point out this error.
  2. See also run a *.bat from EA (Route206) - MQL4 forum
  3. and Execute an exe-file from MQL (Steffen Siegert) - MQL4 forum
// MessageBox(ShellExecuteW(0,"open","C:\Program Files (x86)\Notepad++\notepad++.exe",NULL,NULL,10));
   MessageBox(ShellExecuteW(0,"open","C:\\Program Files (x86)\\Notepad++\\notepad++.exe",NULL,NULL,10));
Reason: