fingers10
fingers10

Reputation: 7927

How to map an existing folder in my local drive to Azure File Share storage?

I'm studying Azure File Share Storage. I can see that I can map my File Share Storage as a Network drive in my PC using the below command:

$ net use [drive letter] \\ppolstorage.file.core.windows.net\cloud-drive 
  /u: [storage account access key]

But is there any way to map an existing folder in my local drive, for example Test Folder in D Drive to Azure File Share Storage? Is this possible?

Upvotes: 0

Views: 1357

Answers (2)

David Browne - Microsoft
David Browne - Microsoft

Reputation: 88861

I've never seen this done, but it appears to work using a Directory Symbolic Link. EG:

C:\>mklink /D c:\share \\mystorageaccount.file.core.windows.net\share

Upvotes: 1

Gaurav Mantri
Gaurav Mantri

Reputation: 136146

But is there any way to map an existing folder in my local drive, for example Test Folder in D Drive to Azure File Share Storage? Is this possible?

Technically it should be possible using Azure File Sync though it is more suited for your on-prem file shares (i.e. essentially a server product) instead of mapping a folder in a local drive on your computer.

Upvotes: 1

Related Questions