Junctions in Windows Server 2003

The simplest way to create a junction (kinda “hard link”) in Windows Server 2003 is to type junction at the command line followed by name of your link and then its target, like this:

junction c:/tmp/my_ghost_dir c:/this_is_an_important_data_dir

At the console you can enter this command to list hard and symbolic links in a directory and save the listing to a file:

dir /AL /S C:\SOMEDIR > links.txt

See also older post about symlinks in Windows XP.


One Comment on “Junctions in Windows Server 2003”

  1. […] also another post about hard links in Windows Server […]

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 )

Google+ photo

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

Connecting to %s