home directory wsl code example
Example 1: home directory of wsl
\\wsl$\DISTRO_VERSION
Example 2: wsl home folder location
%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs
\\wsl$\DISTRO_VERSION
%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs