Download MetaTrader 5

How to Creat An Text file in c:\ or in d:\ or any other drive , please provide me an example code

To add comments, please log in or register
Having troubles understanding the code? Perhaps, you can find an article on that topic!
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

Ex Ovo Omnia
3154
Ex Ovo Omnia 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