Common template folder for multiple instances of MT4

 
I run 3 instances of MT4 with no problem, all located in different folders. Is there a way of each instance of MT4 accessing a common file folder, thus saving and loading templates from a common location? Currently I have to copy contents of a template folder to each MT4 directory, and want to simplify this.
Many thanks.
 
Yes.

Delete, and then replace two template folders using Junction tool, linking to the third.

http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx
 
Yes.

Delete, and then replace two template folders using Junction tool, linking to the third.

http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx





Hi phy,

This sounds like exactly what I need. I understand the concept, and have downloaded the Junction tool, and unzipped it into a folder. However, when I click on the .exe file, a Command Box flashes quickly, then all is gone again. I have also tried typing into a command prompt " junction [-s] C:\test folder" to test if I am using the syntax correctly, but all I get is "junction is not recognized as an internal or external command".

Am I using the command line correctly? Do I need to place the Junction tool into each main Metatrader folder, say MT2 and MT3, delete each MT2 &MT3 template folder, and then run the junction tool in each main folder, pointing to MT1 template folder, using the syntax I described. I get the feeling it is my unfamiliarity with the command line that is giving me problems.

Could you tell me a little more how I use the Junction tool? I am sure I am nearly there, but just missing something obvious.

Many thanks
 
Run it as a command line tool.

junction is the executable that creates symbolic links in NTFS.

Put junction.exe in a folder in your executable $PATH, such as C:WINDOWS

Then a command prompt:

$> junction

will give you a little help


Experiment on empty folders first. Create a folder, create a junction to it, add something to one of the folders,
and magic magic it is actually in two folders. One file, two folders. or three...

Warning:

use the junction tool to DELETE the junctions too when you are done. Explorer doesn't handle them corectly (it is said)


Alternative tool, with more functionality, whch integrates with the Windows shell:

http://hermann.schinagl.tripod.com/nt/hardlinkshellext/hardlinkshellext.html
 
Hi phy,

Bish bash bosh - I used the hardlinkshellext tool, and magic magic, it did exactly what it said on the tin. Very pleased indeed, and thank you for your help. This is such a simple solution.
 
Yes, it is nice when you find a way to make Windows do what the *nix world has been doing for 30 years.

http://landru.uwaterloo.ca/cgi-bin/man.cgi?section=1&topic=ln