wsl2 home directory 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