Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to mount a network share on a folder in Windows, because I have an application that's stored big files in a hard-coded path (e.g. c:\path\of\directory). I can't change that path.

This is easily achievable in Linux using softlink or directly mounting on that directory, but I don't know how it can be done in Windows. I have tried mklink.exe and subst, but it creates a folder like shortcut with a .lnk extension.

Can anyone help me?

share|improve this question
Do I understand you correctly that you want to mount \\someserver\c$\path\of\directory to an arbitrary path (i.e. not a drive letter) on another machine? – holmb Feb 20 '13 at 13:03
Check this:… and this:… – jaume Feb 20 '13 at 13:08
You can use this excellent shell extension in future to make symlinking easy. – Karan Feb 21 '13 at 3:51
@Karan thanks and Good To know.. – Rahul Patil Feb 21 '13 at 3:53
up vote 8 down vote accepted

Mounting a network share in an arbitrary directory path is possible with symbolic directory links, or by using DFS (Distributed File System) which is only available in Windows Server. See (section "Feature Comparison to DFS").

To create a symbolic directory link use mklink /d c:\path\of\directory \\network\share (where directory must not exist in c:\path\of). Verify the command with dir /aL c:\path\of. If you ever want to delete the link be sure to use rmdir c:\path\of\directory and not del c:\path\of\directory which will delete files within that directory.

The symbolic directory link is not the same as an LNK-link. Even though it appears to be an LNK-link when viewed in the File Explorer, as it uses the same icon overlay with an arrow coming around the folder icon.

Another option, if you are in need of more storage space in that specific path, is to add another drive and mount that directly into the directory path. See for how to do that.

share|improve this answer
thanks................. – Rahul Patil Feb 21 '13 at 18:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .