16

The question is how to make the similar thing like symlink in windows like in *nix. It's really hard to write whole path to the file in console (even using [tab], it's not the way if you need to change language). Adding everything in PATH is tiring too. It'll be great to make a symlink running one command.

Actually I'm looking for console app.

willson
  • 263
  • 1
  • 2
  • 7

7 Answers7

13

They're called junctions

And if you want a GUI to do it for you...

Community
  • 1
  • 1
typicalrunt
  • 671
  • 1
  • 6
  • 12
  • +1 for good answer, but I don't think there's anything as easy or as good as linking in posix. – J D OConal Sep 18 '08 at 04:50
  • Be sure to check out the comments in the "junctions" article hyperlinked above. Many respondents disagree that the steps listed in the article relate to true NTFS junctions. The link from MotoWilliams' response points to a more authorative MSDN treatment. – MykennaC Aug 22 '11 at 19:58
9

I used subst first as it makes the path shorter. To do it but with mounting a virtual disk as typicalrunt said, I used the junction utility from Sysinternals.

To make a symlink use the command:

junction Disk:\path\to\mount\point Disk:\path\to\something\to\mount

To delete it use the -d switch:

junction -d Disk:\path\to\mount\point Disk:\path\to\something\to\mount
Community
  • 1
  • 1
willson
  • 263
  • 1
  • 2
  • 7
6

Back when I was on windows I used to use a hardlink shell extension. Not sure if this is the same one, but give this one a try: Link Shell Extension.

Aeon
  • 6,467
  • 5
  • 29
  • 31
4

As with most things, SysInternals has you covered this time with Junction

MotoWilliams
  • 1,538
  • 1
  • 12
  • 22
1

Older question with longer discussion: How to create symbolic links in Windows?

Community
  • 1
  • 1
gabr
  • 26,580
  • 9
  • 75
  • 141
0

There's an Open source GUI Tool for Creating Symlinks in windows

Taranfx
  • 10,361
  • 17
  • 77
  • 95
-1

You can create junctsymlinksions in windows with mklink.

edit: If you use Vista.

William Keller
  • 5,256
  • 1
  • 25
  • 22