location of linux tools windows 10 code example
Example 1: where is wsl folder in windows
%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs
Example 2: home directory of wsl
\\wsl$\DISTRO_VERSION
%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs
\\wsl$\DISTRO_VERSION