home directory in wsl 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
Example 3: wsl home folder location
%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs