nonopolarity
nonopolarity

Reputation: 151146

which way to create a soft link on XP or Vista for projects?

I'd like to create a soft link on XP and Vista so that

c:\proj01\lib will point to c:\lib

and

c:\proj02\lib will point to c:\lib

the reason to do so is that some IDE has auto complete to suggest the function name or can quick jump to the function in different files, but all files must be under one folder, such as c:\proj01, so I hope to create a soft link c:\proj01\lib that will point to c:\lib

on XP and Vista, what's the best way to create such links? thanks.

Upvotes: 2

Views: 1505

Answers (2)

Thomas Levesque
Thomas Levesque

Reputation: 292575

mklink doesn't exist on XP, but you can use Sysinternals' Junction tool

Upvotes: 7

ghempton
ghempton

Reputation: 7947

From a terminal: mklink /D {linkname} {targetdir}

Upvotes: 4

Related Questions