Move Files and Create Redirect using Junction Link Magic
March 27, 2010 | Filed under Software;
You found out that your company’s server hard drive is running out of space and bought another new hard disk which can accommodate more data. Moving all the database directly by from the Windows Explorer is easy but unfortunately by doing that alone isn’t enough because the main software still tries to read the database from the old location. Most database or accounting software is able to specify the database location but if somehow the software is too old to do that, you are only left with 2 options. The first is to duplicate the original hard drive contents to the new one by using software such as Acronis or Ghost.
Another easier method that doesn’t waste much time is by creating junction points. Junction points is something like a redirection where when you try to access a folder in a location, Windows will actually point you to another folder. Windows Vista and Windows 7 has a built-in command to do that which is mklink. Windows XP doesn’t have this feature and you will need a third party software to create junction points.
For people who doesn’t know how to use the mklink command, you can try Junction Link Magic. Junction Link Magic is a small and free utility that lets you create junction points with Windows 2000, XP, 2003, Vista, Windows Server 2008 and Windows 7. It automatically lists existing junction points, and it offers an easy interface to add, modify or remove junction points.
Here is an example. We will attempt to move all files from Firefox directory from Program Files into C:\ drive. First we create a new folder in C: drive called Firefox (C:\Firefox) and move all files and folders from C:\Program Files\Mozilla Firefox\ to C:\Firefox\. Make sure that the Mozilla Firefox folder at Program Files is EMPTY. Now launch Junction Link Magic and click the Create button. The host folder at the left pane will be the empty Mozilla Firefox folder at Program Files and target will be C:\Firefox\. After selecting both of it, click Create.
Now when we try to run a Mozilla Firefox shortcut which points to an empty folder in C:\Program Files\Mozilla Firefox\, Firefox still runs because it has been auto redirected to C:\Firefox folder.