Super User is a question and answer site for computer enthusiasts and power users. 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

If I've created a directory link via mklink, how can I figure out if it was a symbolic link, a directory junction, or a hard link (ie whether I used /d, /j, or /h)?

share|improve this question
2  
You can't create a directory hard link. Apart from that, heavyd's answer is correct. – efotinis Feb 9 '10 at 10:27
up vote 8 down vote accepted

At the command line you can type

dir /a

You should see something similar to:

02/08/2010  11:40 PM    <SYMLINKD>     d1 [..\targetdir1] 
02/08/2010  11:41 PM    <JUNCTION>     d2 [..\targetdir2]

This shows a directory symlink (/D) and a directory junction (/J)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .