windowsnetworkingsymlinkshared-directorynetwork-share

How to map a network share folder to a local folder in Windows without additional Apps


Lets say there is a shared folder: \\server\share\folder1 containing Folder2\file.ext

I would like mount that folder to c:\somePath\someFolder

So that I can reference c:\somePath\someFolder\Folder2\file.ext

Best I can find is mounting to drive letter. :(

The access to the file is just an example. Let's just assume there are a few servers and a few files. Powershell or cmd is fine. Heck I would take cygwin too. :)

TIA


Solution

  • In cmd (run as as administrator) run the following command:

    mklink /D c:\somePath\someFolder \\server\share\folder1