How do I change target of symlink in windows
up vote
22
down vote
favorite
Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with:
ln -f
windows symbolic-link
add a comment |
up vote
22
down vote
favorite
Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with:
ln -f
windows symbolic-link
add a comment |
up vote
22
down vote
favorite
up vote
22
down vote
favorite
Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with:
ln -f
windows symbolic-link
Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with:
ln -f
windows symbolic-link
windows symbolic-link
edited Jul 2 '12 at 16:48
evan.bovie
2,6781228
2,6781228
asked Jul 2 '12 at 14:39
Eugeniu Torica
245126
245126
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
12
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:
- http://unxutils.sourceforge.net/
- http://schinagl.priv.at/nt/ln/
- http://neosmart.net/Symlinks/
- http://www.mkssoftware.com/
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklinkwould be the Windows-integrated command for linking (symbolic and hard).
– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
add a comment |
up vote
3
down vote
Just remove and recreate the link. That's all that -f does in Linux anyway.
Also, here's a cool Windows Link Shell Extension.
add a comment |
up vote
0
down vote
The method belo works for me in Windows 7
mklink TempLink NewTarget
copy /l /y TempLink OldLink
del TempLink
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
12
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:
- http://unxutils.sourceforge.net/
- http://schinagl.priv.at/nt/ln/
- http://neosmart.net/Symlinks/
- http://www.mkssoftware.com/
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklinkwould be the Windows-integrated command for linking (symbolic and hard).
– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
add a comment |
up vote
12
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:
- http://unxutils.sourceforge.net/
- http://schinagl.priv.at/nt/ln/
- http://neosmart.net/Symlinks/
- http://www.mkssoftware.com/
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklinkwould be the Windows-integrated command for linking (symbolic and hard).
– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
add a comment |
up vote
12
down vote
accepted
up vote
12
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:
- http://unxutils.sourceforge.net/
- http://schinagl.priv.at/nt/ln/
- http://neosmart.net/Symlinks/
- http://www.mkssoftware.com/
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:
- http://unxutils.sourceforge.net/
- http://schinagl.priv.at/nt/ln/
- http://neosmart.net/Symlinks/
- http://www.mkssoftware.com/
edited Jul 2 '12 at 15:55
answered Jul 2 '12 at 15:49
Julian Knight
12.8k11534
12.8k11534
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklinkwould be the Windows-integrated command for linking (symbolic and hard).
– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
add a comment |
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklinkwould be the Windows-integrated command for linking (symbolic and hard).
– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
This solution seems to work however I didn't test it thoroughly.
– Eugeniu Torica
Jul 23 '12 at 9:32
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
wow! Link Shell Extension, also notably, includes a Symbolic Link Driver for Windows XP among it's downloads.
– n611x007
Mar 27 '13 at 11:50
mklink would be the Windows-integrated command for linking (symbolic and hard).– Jinxed
Feb 28 '16 at 22:08
mklink would be the Windows-integrated command for linking (symbolic and hard).– Jinxed
Feb 28 '16 at 22:08
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
@Jinxed, I already said that mklink doesn't do what the OP asked.
– Julian Knight
Feb 29 '16 at 22:36
add a comment |
up vote
3
down vote
Just remove and recreate the link. That's all that -f does in Linux anyway.
Also, here's a cool Windows Link Shell Extension.
add a comment |
up vote
3
down vote
Just remove and recreate the link. That's all that -f does in Linux anyway.
Also, here's a cool Windows Link Shell Extension.
add a comment |
up vote
3
down vote
up vote
3
down vote
Just remove and recreate the link. That's all that -f does in Linux anyway.
Also, here's a cool Windows Link Shell Extension.
Just remove and recreate the link. That's all that -f does in Linux anyway.
Also, here's a cool Windows Link Shell Extension.
answered Jul 2 '12 at 15:24
David Cowden
15919
15919
add a comment |
add a comment |
up vote
0
down vote
The method belo works for me in Windows 7
mklink TempLink NewTarget
copy /l /y TempLink OldLink
del TempLink
add a comment |
up vote
0
down vote
The method belo works for me in Windows 7
mklink TempLink NewTarget
copy /l /y TempLink OldLink
del TempLink
add a comment |
up vote
0
down vote
up vote
0
down vote
The method belo works for me in Windows 7
mklink TempLink NewTarget
copy /l /y TempLink OldLink
del TempLink
The method belo works for me in Windows 7
mklink TempLink NewTarget
copy /l /y TempLink OldLink
del TempLink
answered Nov 13 at 12:18
Gyan
13.8k21641
13.8k21641
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f444016%2fhow-do-i-change-target-of-symlink-in-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown