Windows – How to change target of symlink in windows

symbolic-linkwindows

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

ln -f

Best Answer

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:

Related Question