peterhw1:
TeminalInfoString(TERMINAL_DATA_PATH)
and I could locate that using the TerminalPath() function [...]
Is there an appropriate command somewhere to programmatically retrieve this path

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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