How to access WSL file system from Windows 10 file explorer

Photo from Unsplash

If you want to get Linux environment in your Windows system there are some solutions that provide the oportunity.
For example MYSYS, CYGWIN and a Virtual Machine (If you want complete linux machine) or Multiple Boot.
But some of them aren’t much powerful and some are resources hungry like Virtual Machine.
So, the solution is WSL (Windows Subsystem for Linux).
You can learn how to setup WSL from here.

In this article I’ll be sharing how to access WSL file system from Windows 10 file explorer.
I am assuming you have completely setup WSL and is able to access it through command prompt/powershell.

Step 1

Open Windows Explorer
Then type \\wsl$ in the path location as shown in the below picture and hut enter.

Step 2

Now a new window will open having your WSL linux machine name.

Step 3

Now right click on the icon shown in the above image (Name may not be the same)

Step 4

Now Select Map Network Drive option.
A new dialog box will open, As shown in the below picture.

Now choose a drive letter and click Finish.

Step 5

You will have the Linux machine file system listed under Network Storage.

Conclusion

You can view, rename, delete, copy/paste the files as you do with normal windows files.
But do not delete any of the files you don’t know. If you do that it may break the WSL System.

That’s all from my side.

Thanks for reading. 🙏
If you liked it feel free to share with your dear ones.💗
And tell me what do you think in the comment box.💬

Stay tuned with Village Programmer.

Post a Comment

Previous Post Next Post