run an external program from within an ea

 
I thought i saw a command to run an external program in the metaeditor... was i mistaken or just can't find it?
 
Maybe you can use one of windows functions documented in winuser32.mqh
 
right on that, but i am sure i saw it in some documentation on mt4... hmmmmmm I remember I was glad to see it and planned to use it later on.. hmmmm well... thanks. ..
 
Use Win API functions. ;)

#import "shell32.dll"
  int ShellExecuteA(int hWnd, int lpVerb, string lpFile, int lpParameters, string lpDirectory, int nCmdShow);
#import
 
void init() {
  string path = "D:\\sample.html";
  ShellExecuteA(0, 0, path, 0, "", SW_SHOW);  
}
Reason: