DrFloyd5
DrFloyd5

Reputation: 13787

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

Upvotes: 0

Views: 1458

Answers (1)

ALUFTW
ALUFTW

Reputation: 2472

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

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

Upvotes: 1

Related Questions