Download MetaTrader 5

Accessing Files

To add comments, please log in or register
Peter Williams
344
Peter Williams 2014.11.04 09:26 

Good morning

I want to try and access the LOG files and have read about using routines in KERNEL132.dll (https://www.mql5.com/en/articles/1540) and this looks useful but I am trying to figure how to retrieve the path to the file

In Older builds everything appeared C:\Program Files\MetaTrader4....etc and I could locate that using the TerminalPath() function

but it appears my log files are located in the area accessed by Open Data Folder instruction C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\915566BA06ADA407569C544CC0D97611\logs

Is there an appropriate command somewhere to programmatically retrieve this path

JC
1456
JC 2014.11.04 09:33  
peterhw1:

and I could locate that using the TerminalPath() function [...]

Is there an appropriate command somewhere to programmatically retrieve this path

TeminalInfoString(TERMINAL_DATA_PATH)
To add comments, please log in or register