Error open file: 5002
User Name: string filePath = "F:\\F2\\1.txt"; // Path to file
File Write Problem (Error: 5002) - Expert Advisors and Automated Trading - MQL5 programming forum #1-2 (2020)
and FolderDelete using TERMINAL_DATA_PATH - General - MQL5 programming forum (2017)
Hello everyone,
Unable to open file:
// Specify absolute path to file
string filePath = "F:\\F2\\1.txt"; // Path to file
int fileHandle;
fileHandle = FileOpen(filePath,FILE_SHARE_READ| FILE_READ);
Error opening file: 5002
What could be the reason?
Thank you!