windows 10 wsl

Access Wsl Filesystem From Windows 10 File Explorer

Posted by Vikash Patel on Tuesday, May 4, 2021 (Updated Sunday, May 7, 2023) Reading time: 2 Min

If you want to get Linux environment in your Windows system there are some solutions that provide the opportunity.
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 diaglog 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 CS111.

This post was originally posted on Village Programmer



comments powered by Disqus