@WSLPATH[filename] : Convert from the Windows filename format to WSL format. For example:

 

echo %@wslpath[c:\windows\system32\notepad.exe]

//mnt/c/windows/system32/notepad.exe

 

@WSLPATH will do a "truename" to see through network assignments, junctions, symbolic links, SUBST's, and home directory references.