How can I get (preferably copy to clipboard, or navigate to) the target path a symlink is pointing to? I know Ctrl+PgDn Ctrl+Left(Right) works with ".lnk" files, but I am talking about those, created using mklink.
For example if I:
Code: Select all
mklink /d c:\symdir c:\truedir
Or if I have a file inside c:\symdir\, like c:\symdir\file.txt, how can I get c:\truedir\file.txt?
I know this is achievable using:
Code: Select all
powershell.exe (Get-Item c:\symdir).Target