You don't need to specify all the path :
input string InpDirectoryName = "C://Users//dan//AppData//Roaming//MetaQuotes//Terminal//BB190E062770E27C3E79391AB0D1A117//MQL4//Files//Data"; // Folder name
roi.finish:
Hi,
I'm trying to read a text file from another MT4 folder without success,
someone can help me?
thanks
Roi
I'm not sure, but your format might be off...
compare my data path to yours...
"C:\Users\Office Asus\Desktop\Trading\MT4"
v.
"C://Users//dan//AppData//Roaming//MetaQuotes//Terminal//BB190E062770E27C3E79391AB0D1A117//MQL4//Files//Data"
Maybe "C:\Users\dan\AppData\Roaming\MetaQuotes\Terminal\...\MQL4\Files\Data" will work.
Todd Geiger:
I'm not sure, but your format might be off...
compare my data path to yours...
"C:\Users\Office Asus\Desktop\Trading\MT4"
v.
Sometimes I am really wondering if it's worth to answer, as it seems some people can't even read.
"/" or "\" doesn't make any difference.
Thanks for your comments,
but the concept of the MT4 is that it can't reach other folders which are not in the MT4 folders only,
this is why I'm asking....

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
Hi,
I'm trying to read a text file from another MT4 folder without success,
someone can help me?
thanks
Roi