title: how to mount a file share in azure service fabric
body: <p>I need to access files using standard file API in a Service Fabric service. My application read from files and write to files that are stored in a File Share; each node process a different part of the data.</p>
  
  <p>I'm using the "SetupEntryPoint" to run a batch file with a "net use" command to mount a local drive to my file share but it fails (both on my local machine and when deployed on Azure). I'm referring to <a href="https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-model" rel="nofollow noreferrer">this</a> article. The same batch runs well on a regular virtual machine but fails on a Fabric node.</p>
  
  <p>I would like an example of how this can be achieved. Thanks</p>