How to work with a file that is not in TERMINAL_DATA_PATH

 

Hi, I have a file in C:\NewFolder\newfile.txt

FileIsExist("C:\\NewFolder\\newfile.txt") returns false

 
Farzad Sadeghishahrestanak:

Hi, I have a file in C:\NewFolder\newfile.txt

FileIsExist("C:\\NewFolder\\newfile.txt") returns false

https://www.mql5.com/en/docs/files

Documentation on MQL5: File Functions
Documentation on MQL5: File Functions
  • www.mql5.com
For security reasons, work with files is strictly controlled in the MQL5 language. Files with which file operations are conducted using MQL5 means cannot be outside the file sandbox. the common folder for all the terminals installed on a computer - usually located in the directory C:\Documents and Settings\All Users\Application...