Delete Junction confusion

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Delete Junction confusion

Post by LittleBiG »

admin wrote: 18 Aug 2022 12:24
LittleBiG wrote: 18 Aug 2022 11:35
admin wrote: 18 Aug 2022 11:29 Got it: It is not shown if it is a Mount Point. (I don't know why this decision was made; untypically there is no comment in the code.)
And is this a mount point? :? Same drive, the junction and the target are in the Documents as well.
What is the target of that junction?
C:\Users\myname\OneDrive - mycompany\Documents\Visual Studio 2015\

Edit: it has to be related to the ONeDrive folder. If I paste junction there, it won't have Junction menu.

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Delete Junction confusion

Post by admin »

Ah, the OneDrive problem. In Win 10 or later OneDrive abuses FILE_ATTRIBUTE_REPARSE_POINT (= J = the junction attribute): these are NOT real junctions. But I'm not sure if that's still the case. Maybe it was just beta or bug. Can you check if all your folders under OneDrive have the J attribute?

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Delete Junction confusion

Post by LittleBiG »

admin wrote: 18 Aug 2022 14:20 Can you check if all your folders under OneDrive have the J attribute?
No, they don't have.

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Delete Junction confusion

Post by admin »

OK, in the next beta you should get the Junctions stuff in the context menu.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Delete Junction confusion

Post by LittleBiG »

admin wrote: 18 Aug 2022 16:14 OK, in the next beta you should get the Junctions stuff in the context menu.
Okay, it appeared now. The junction target is empty though for the junctions in the OneDrive folder (also the OneDrive folder itself is an empty target junction).

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Delete Junction confusion

Post by admin »

Yeah, that's what I meant by "... abuses FILE_ATTRIBUTE_REPARSE_POINT...".

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Delete Junction confusion

Post by LittleBiG »

admin wrote: 19 Aug 2022 11:04 Yeah, that's what I meant by "... abuses FILE_ATTRIBUTE_REPARSE_POINT...".
Sure, sure. I prefer the junction menu appearing anyway. So from my perspective it is as good as possible for now.

Post Reply