With net use
or regular ui "map network drive" I can mount network share to a drive letter (a volume) in Windows. But what if I want to mount it to a folder?
Say to d:\myUbuntuShares
and not z:
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI realize this question is old, but here is a proper answer for your question. I have only done this on Windows 7 so I have no idea if this will work on any of the other Windows versions.
Open a shell by writing cmd
in the run field of the start button and enter the following command mklink /d C:\path\to\your\directory \\Server\path\to\share
.
You can also do this from powershell but powershell must be started with administrator rights and the command above has to be preceded by cmd /c