Startup MT5 with configuration file not work
- login to account using cmd
- Enabling Remotely Expert Advisor
- Running EA with imported DLL
Make sure you have these command lines figured out, exactly, before adding to a Shortcut icon.
You can test manually in CMD.exe.
Use fully specified paths, so that the OS knows where the executable and the .ini files are.
Use double quotes if there are spaces in any of the directory names. Actually, use double quotes regardless.
An example:
"C:\Program Files\MetaTrader 5\terminal64.exe" /config:"C:\Users\me\AppData\Roaming\MetaQuotes\Terminal\D0E123F57C8CF37AD8BF550E51FF075\MQL5\myconfiguration1.ini"
Make sure you have these command lines figured out, exactly, before adding to a Shortcut icon.
You can test manually in CMD.exe.
Use fully specified paths, so that the OS knows where the executable and the .ini files are.
Use double quotes if there are spaces in any of the directory names. Actually, use double quotes regardless.
An example: