Download MetaTrader 5
To add comments, please log in or register
No time for trading? Subscribe to signals!
Selvan
53
Selvan 2016.01.20 13:58 

Dear sir,


i am having an doubt please clarify


i want to create or read or write  an text file c:\ or in d:\  etc.,


i request you to provide me the code


because i had try using FileOpen command in mql4  i am successfully able to read or wite under metaquote folder but not in c:\ or in d: \


so i request  you to provide me the code for creating / reading / writing an text file  ( or csv file ) in c:\ or in d:\


Thankyou sir

Ovo Cz
2955
Ovo Cz 2016.01.20 14:08  
SELVAN:

Dear sir,


i am having an doubt please clarify


i want to create or read or write  an text file c:\ or in d:\  etc.,


i request you to provide me the code


because i had try using FileOpen command in mql4  i am successfully able to read or wite under metaquote folder but not in c:\ or in d: \


so i request  you to provide me the code for creating / reading / writing an text file  ( or csv file ) in c:\ or in d:\


Thankyou sir 

You have multiple possibilities, the easier is probably creating a sym link. Navigate your cmd window directory to your data MQ4/File and run

mklink /j mydrive c:\

 Then you have entire drive inside the sandbox.

/
To add comments, please log in or register