Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 Unfortunately, it still makes an extensive output you need to parse… – Melebius Sep 18 '14 at 13:01

Your Answer


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.