wsl2 access folder from windows

C++
Open File Explorer.
Type \\wsl$ in the address bar.
My distro shows up and click on it and you can see the file system
Source

Also in C++: