Please help me in path

Back to topics list To post a new topic, please log in or register
avatar
39
ayoub 2015.07.04 03:27
 

I want to open a file in Téléchargements

how can i do this

string filename=Téléchargements
int handle=FileOpen(filename,FILE_WRITE|FILE_CSV);

avatar
313
JD4 2015.07.04 07:30 #
 
You also need to put the path in there somewhere, for where ever the file is located.  I am not sure of the coding to do it.
avatar
12992
WHRoeder 2015.07.04 12:57 #
 
string filename="Téléchargements\\file.csv";
int handle=FileOpen(filename,FILE_WRITE|FILE_CSV);

Assuming you have a folder in dataPath\MQL4\files\Téléchargements. Data Structure in MetaTrader 4 Build 600 and Higher - MQL4 Articles 17.02.2014

If that is a folder else where, you can't do it directly with MT4.

avatar
39
ayoub 2015.07.04 13:48 #
 
The file does not exist in the outside mql4 folder ,it's in bureau
Back to topics list  

To add comments, please log in or register