Home > Windows 7, Windows XP > Create a symlink / hard links with Windows 2000 and above

Create a symlink / hard links with Windows 2000 and above

linkd

Download and install Windows Server 2003 Resource Kit Tools:

http://www.microsoft.com/en-us/download/details.aspx?id=17657

Create a symlink

linkd "c:\newdir" "c:\existingdir"

Check symlink

dir /al

Remove symlink

linkd "c:\newdir" /d

Junction

Download junction:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx

Place the junction.exe file e.g. in your C:\WINDOWS\system32 directory so it would be on your system path.

Create a symlink

junction "c:\newdir" "c:\existingdir"

Check symlink

dir /al

Remove symlink

junction "c:\newdir" /d

Warning

Only the junction tool knows that these folders are actually symbolic links, the rest of the Windows file system thinks they are normal folders. For example you can delete a junction via Explorer and it will moved to your recycle bin and the folder that it points to stays where it was. But if you then empty your recycle bin it also empties the contents of the folder that this junction was pointing to! So always remember to use the junction command to create & delete junctions.

Junction Link Magic

Download Junction Link Magic:

http://rekenwonder.com/linkmagic.htm

Version 1 for Windows 2000/XP

Version 2 for Windows 2003/Vista/7

Junction Link Magic is a utility that lets you create junction points. Junction Link Magic automatically lists existing junction points, and it offers an easy interface to add, modify or remove junction points. Junction points can only be created on volumes formatted with NTFS 5.0 or higher.

Link Shell Extension

http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html

Link Shell Extension (LSE) provides for the creation of Hardlinks , Junctions , Volume Mountpoints , and Windows7’s Symbolic Links, (herein referred to collectively as Links) a folder cloning process that utilises Hardlinks or Symbolic Links and a copy process taking care of Junctions, Symbolic Links, and Hardlinks.

Categories: Windows 7, Windows XP
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: