Symbolic links in Windows

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
f1nutter
Forum Contributor
Posts: 125
Joined: Wed Jun 05, 2002 12:08 pm
Location: London

Symbolic links in Windows

Post by f1nutter »

I am trying to create a link to another directory which appears to be a fully qualified directory, and usable from DOS (maybe that's a clue?!?)

Let me explain:
I have three drivers on my computer, C:\, D:\, and E:\. Just the OS is on C:\, the programs on D:\, and data on E:\

I would like to map a drive / directory so in the command line, for example, I might type C:\Program Files\Games\Solitare.exe and this starts D:\Program Files\Games\Solitare.exe.

I'm not talking about a windows short-cut, because that redirects you to the directory the short-cut is pointing to. I would like this so that my program will work on different machines, regardless of directory set-up, because the mapped directories can then all be the same.

I hope I've explained this properly, and someone could help.

Cheers.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

ntfs directory junctions might be a solution
http://support.microsoft.com/default.as ... -US;205524

To map virtual drives to a directory you still can use subst x: d:\projects\projectA
Post Reply