Save csv file in C drive (MQ4)

 

I try to change the path of saving csv file to C drive (The main dir).

Here the current code:

y="\"";
yy="\\"; 
Patch = "Csv_Files"+x2+Symbol()+x2;

I want the file that created will saved in C drive (The main dir) instead in "C:\Users\username\AppData\Roaming\MetaQuotes\Terminal*********************\MQL4" dir.

How I can do that?

Thanks!

 
File functions save in the data folder. You can't.
Reason: