Once a symlink is created using mklink, is there any way to find the link target, other than parsing the output of dir command ?
As an example, junction.exe
will return the substitute name when called with a junction as a first argument.
Once a symlink is created using mklink, is there any way to find the link target, other than parsing the output of dir command ?
As an example, junction.exe
will return the substitute name when called with a junction as a first argument.
You can use junction.exe on links made with mklink or you can use the GUI tool NTFSLinksView
SuperUser Julian Knight's answer worked for me.
With Windows Link Shell Extension installed, you can right-click on the link in Windows Explorer and check the properties. There is a tab that allows you to change the link directly.
With Link Shell Extension installed:
His SuperUser answer also lists resources to Windows equivalents for Linux commands (including ln.exe
).