Can somebody help, what is the problem? I wannt to copy an ini file from one to another terminal folder.
Thank you.
Thank you.
Inserted Code
#import "shell32.dll"
int ShellExecuteA(int hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, int nShowCmd);
#import
string from=TerminalPath()+"\\MQL4\\Files";
string to="D:\\_Forex Terminals\\FxPro - MetaTrader 4 14 Tester\\tester";
string parameters = "/c copy /Y " + from + " " + to;
copyini =ShellExecuteA(0, "open", EAName+".ini", parameters, "", 0);
Sleep(1200);
if(copyini<32){Print("Fail to copy ini file, error: "+DoubleToStr(copyini,0));return;