Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symlink in windows XP

Tags:

unix

windows

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.

like image 697
willson Avatar asked Sep 18 '08 04:09

willson


2 Answers

They're called junctions

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

like image 86
typicalrunt Avatar answered Sep 20 '22 14:09

typicalrunt


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
like image 33
willson Avatar answered Sep 20 '22 14:09

willson