Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Say that I setup a symbolic link:

 mklink  /D C:\root\Public\mytextfile.txt C:\root\Public\myothertextfile.txt

is there a way to see what the target of myothertextfile.txt is using the command line?

share|improve this question
I don't understand the question. Can you please be more descriptive? – John Homer Apr 17 '12 at 21:26
C:\root\public>mklink   C:\root\Public\mytextfile.txt C:\root\Public\myothertextfile.txt
symbolic link created for C:\root\Public\mytextfile.txt <<===>> C:\root\Public\myothertextfile.txt


 Directory of C:\root\public

04/17/2012  05:42 PM    <DIR>          .
04/17/2012  05:42 PM    <DIR>          ..
04/17/2012  05:38 PM                 0 myothertextfile.txt
04/17/2012  05:42 PM    <SYMLINK>      mytextfile.txt [C:\root\Public\myothertextfile.txt]
share|improve this answer

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.