Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can use junction.exe on links made with mklink or you can use the GUI tool NTFSLinksView

share|improve this answer
    
Junction works fine as of version 1.06. Thanks –  Rod Nov 5 '12 at 21:24
    
I’d mention that junction.exe is a part of SysInternals and can be downloaded from technet.microsoft.com/en-us/sysinternals/bb896768.aspx. Unfortunately, it still makes an extensive output you need to parse… –  Melebius Sep 18 at 13:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.