How to access files on network drive from Windows Subsystem for Linux
Solution 1:
Edit: run: net.exe - I believe this located the shared drives
Run sudo mkdir /mnt/share
Run sudo mount -t drvfs '\\server\share' /mnt/share
Note: \\server\share
will be the name of your shared drive which you should be able to see when you run net.exe.
It worked for me after that, just cd
to /mnt/share
and all the files should be accessible now.
It has worked now, I had to use the command net.exe first and then it did find the shared drives. But it looks like I have to run the command sudo mount -t drvfs '\\server\share' /mnt/share
every session, which I guess is not the end of the world. Just annoying.