You can mount network drives and use them everywhere in WSL Bash.
Following these github issues:
microsoft/WSL#2636 (comment)
microsoft/WSL#2930 (comment)
E.g. if you want to mount your C:
, D:
, E:
drives to /mnt/c
, /mnt/d
, /mnt/e
, you will need to create them.
sudo mount /mnt/c /mnt/d /mnt/e
//DEVBOX/Data /mnt/d drvfs defaults 0 0
/mnt/c /c none bind 0 0
Do not forget to create your /c
mount points with sudo mkdir /c
.
sudo mount -a
//SERVER/D /mnt/d drvfs defaults 0 0
//SERVER/E /mnt/e drvfs defaults 0 0
/mnt/c /c none bind 0 0
/mnt/d /d none bind 0 0
/mnt/e /e none bind 0 0