It fails to delete/move folders with junctions, routing to nowhere. As for example:
1. There are Folder1, Folder2
2. I create junction link for Folder1 and place it into Folder2.
3. Then I delete or rename Folder1. Try to delete Folder2, containing "broken" link for Folder1. It fails with message
Image: https://i.imgur.com/8dV0zUW.jpg
There is no such a problem in explorer. I can delete folders like that successfully.
TC v.10.52x64 Windows 8.1x64. User Account Control (UAC) is disabled.
Junctions are created with help of NTLinksMaker or Link Shell Extension
Deleting folders with "broken" junctions inside
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Deleting folders with "broken" junctions inside
I cannot reproduce that. I used the Windows tool mklink to create the junction via a button:
1. Junction:
command: c:\windows\system32\cmd.exe
parameters: /C mklink /J %T%N %P%N
2. Symbolic link:
command: *c:\windows\system32\cmd.exe
parameters: /C mklink /D %T%N %P%N
Note the * in front of the command in the second case, it needs admin rights.
I can delete the folder with the junction just fine, even when the target no longer exists. Both deleting to recycle bin and directly work.
1. Junction:
command: c:\windows\system32\cmd.exe
parameters: /C mklink /J %T%N %P%N
2. Symbolic link:
command: *c:\windows\system32\cmd.exe
parameters: /C mklink /D %T%N %P%N
Note the * in front of the command in the second case, it needs admin rights.
I can delete the folder with the junction just fine, even when the target no longer exists. Both deleting to recycle bin and directly work.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com