Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with:

ln -f
share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

With Windows Link Shell Extension installed, you can right-click on the link in Windows Explorer and check the properties. There is a tab that allows you to change the link directly.

Sorry I can't say if this is possible without the extension installed as it is one of the first things I install after Windows.

The Windows command link tool mklink does not allow this.

There are, however, Windows equivalents for Linux commands. ln.exe is one:

share|improve this answer
    
This solution seems to work however I didn't test it thoroughly. –  Jenea Jul 23 '12 at 9:32
    
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads. –  naxa Mar 27 '13 at 11:50
add comment

Just remove and recreate the link. That's all that -f does in Linux anyway.

Also, here's a cool Windows Link Shell Extension.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.