Page 1 of 1

Symbolic links in Windows

Posted: Wed Apr 09, 2003 10:17 am
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.

Posted: Wed Apr 09, 2003 1:08 pm
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