How to move MT4 Data Folder to another place?

To add comments, please log in or register
Wemerson Guimaraes
625
Wemerson Guimaraes  

Hi guys, 

I need to download a lot of data on my metatrader 4 using TickStory lite for backtesting, but my free space on C:  is small than the amount of data need to download. Then need to move the datafolder to another partition.

How can I move the datafolder to D: or anoter disk with more free space?

William Roeder
20223
William Roeder  
  1. Normally it goes in the user's appData directory.
  2. Or, you install the terminal else where and start it in /portable mode, the data goes in the install directory.
  3. Or you move the directory elsewhere and use
    mklink/j
    to create a directory junction to redirect to it.
Wemerson Guimaraes
625
Wemerson Guimaraes  
WHRoeder:
  1. Normally it goes in the user's appData directory.
  2. Or, you install the terminal else where and start it in /portable mode, the data goes in the install directory.
  3. Or you move the directory elsewhere and use
    mklink/j
    to create a directory junction to redirect to it.
Make that... works for me.

Thanks
NabiKAZ
53
NabiKAZ  

Firstly close all the MetaTraders versions.

Use this commands in "cmd" windows:

robocopy /E /MOVE "C:\Users\<USER>\AppData\Roaming\MetaQuotes" "F:\MetaQuotes"
mklink /j "C:\Users\<USER>\AppData\Roaming\MetaQuotes" "F:\MetaQuotes"

<USER> The username of your windows.

"C:\" It's the current windows drive installed.

"F:\MetaQuotes" It's new path.


John Davis
11959
John Davis  
NabiKAZ:

Firstly close all the MetaTraders versions.

Use this commands in "cmd" windows:

<USER> The username of your windows.

"C:\" It's the current windows drive installed.

"F:\MetaQuotes" It's new path.


After running the

robocopy


 command I had to rename the last folder in the original destination, due to "Cannot create a file when that file already exists" error. Worked fine after that.

NabiKAZ
53
NabiKAZ  
John Davis:

After running the


 command I had to rename the last folder in the original destination, due to "Cannot create a file when that file already exists" error. Worked fine after that.

The existence or absence of destination folder ("F:\MetaQuotes" in here) is not important and has no effect. Because "robocopy" creates it.

Hakan Akgul
1001
Hakan Akgul  
my all files move to other directory but not going run ... opening a new metatrader .... moved metatraders is not opening
To add comments, please log in or register