I need a way to assign the base directory name (usually "c:\program files\metatrader 4") to a string, so I can use it to call the ShellExecuteA( ) DLL function. I need to run a Perl script in the experts directory, but the base dir *could* vary depending on where MT4 was installed.
Is there a MT4 terminal variable I can use, or some other way to determine through the MQ4 language what the base installation dir is?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Is there a MT4 terminal variable I can use, or some other way to determine through the MQ4 language what the base installation dir is?
Thanks!
Alan