How to create symbolic link in windows 7

June 2nd, 2009

To create symbolic link in windows 7,then easiest way is to use command mklink.

Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D      Creates a directory symbolic link.  Default is a file
symbolic link.
/H      Creates a hard link instead of a symbolic link.
/J      Creates a Directory Junction.
Link    specifies the new symbolic link name.
Target  specifies the path (relative or absolute) that the new link
refers to.

Normally,we can use the option /D to create symbolic link.
Note:You need the admin privileges to run this command


To create a symbolic link named MyDocs from the root directory to the \Users\User1\Documents directory, type:

mklink /D \MyDocs \Users\User1\Documents

Also we can use junction.exe or linkd.exe to create symbolic link in windows 7,you can  try them after put them to C:\windows\system32  if you have the interest.

53 Responses to “How to create symbolic link in windows 7”

  1. instagram says:

    I know this website presents quality depending posts and extra information, is there any other web site which gives these information
    in quality?

  2. This design is incredible! You obviously know
    how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well,
    almost…HaHa!) Great job. I really loved what you had to say, and more than that,
    how you presented it. Too cool!

  3. PK says:

    First of all I would like to say superb blog! I had a quick question which I’d like
    to ask if you don’t mind. I waas interested to find out how you center yourself andd clear your thoughts before writing.

    I have had a difficult time clearing my mind in getting my ideas out there.
    I do enjoy writing however it just seesms like the first 10
    to 15 minuts are generally wasted simply just tryingg to figure ouut howw to begin. Any recommendations
    or tips? Many thanks!

Leave a Reply