Search code examples
azureazure-storageazure-storage-files

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?


Solution

  • 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