OT: Deleting Junctions
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: OT: Deleting Junctions
What if you delete a folder with one or more junctions somewhere deep down in some subfolders? Am I supposed to scan the whole delete job searching for junctions? I don't think so.
FAQ | XY News RSS | XY X
-
eil
- Posts: 1919
- Joined: 13 Jan 2011 19:44
Re: OT: Deleting Junctions
actually, such algorithm could be useful.
i'm wondering about making the "Smart Delete" scripting button, which would check(recursively) for junctions/tags(comments,labels)/any special file attributes = doesn't matter if it's much longer than ordinary Delete, when it's much safer.
but my scripting skills are still too bad for such "big feature", so this idea remains for future. 
i'm wondering about making the "Smart Delete" scripting button, which would check(recursively) for junctions/tags(comments,labels)/any special file attributes = doesn't matter if it's much longer than ordinary Delete, when it's much safer.
Win 7 SP1 x64 100% 1366x768|1900x1080
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: OT: Deleting Junctions
What should I say? It's a good example...admin wrote:What if you delete a folder with one or more junctions somewhere deep down in some subfolders? Am I supposed to scan the whole delete job searching for junctions? I don't think so.
Either XY does it by program logic, I do it manually, (as you said: for all subfolders, maybe some hours,) or I lose data.
What would you say is best?
(Very bad that it's only on WXP - but you might disable the test if non-XP.)
(OK: good, that Vista/7 don't have that
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: OT: Deleting Junctions
Junctions are not as prolific in XP as in Vista. Most users will never use them.
I'll make a note about this, but with low prio.
I'll make a note about this, but with low prio.
FAQ | XY News RSS | XY X
-
PeterH
- Posts: 2830
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: OT: Deleting Junctions
OK: I would like to automate this (for some special case...)
But: "Junction/Delete Junction" seems not to be available for scripting?
At least I didn't find it...
Could this be made available as a command?
But: "Junction/Delete Junction" seems not to be available for scripting?
At least I didn't find it...
Could this be made available as a command?
-
Nuno
- Posts: 109
- Joined: 12 Sep 2008 22:19
- Location: Portugal
Re: OT: Deleting Junctions
Hi!
I tried to delete a junction using XYplorer context menu and the link didn't get removed (bug?).
The junction was originally created using Paste Special -> Paste as Junction.
I managed to delete it safely by firstly renaming the target folder. That way the contents didn't get removed as well.
I tried to delete a junction using XYplorer context menu and the link didn't get removed (bug?).
The junction was originally created using Paste Special -> Paste as Junction.
I managed to delete it safely by firstly renaming the target folder. That way the contents didn't get removed as well.
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Nuno
- Posts: 109
- Joined: 12 Sep 2008 22:19
- Location: Portugal
Re: OT: Deleting Junctions
admin wrote:Which OS?
I'm using Win7x64 Ultimate.
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Nuno
- Posts: 109
- Joined: 12 Sep 2008 22:19
- Location: Portugal
Re: OT: Deleting Junctions
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: OT: Deleting Junctions
I assume this was on a special folder path (eg. "Desktop\...")? I could reproduce it there.
FAQ | XY News RSS | XY X
-
Nuno
- Posts: 109
- Joined: 12 Sep 2008 22:19
- Location: Portugal
Re: OT: Deleting Junctions
I guess so. It was inside the special folder box.com "Box Sync" places in My Documents.
-
admin
- Site Admin
- Posts: 67229
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
danman
- Posts: 20
- Joined: 03 Sep 2013 05:27
Re: OT: Deleting Junctions
I give up. What the heck is a junction point?
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: OT: Deleting Junctions
How about looking here: http://en.wikipedia.org/wiki/Junction_pointdanman wrote:I give up. What the heck is a junction point?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
XYplorer Beta Club