Page 2 of 2
Re: Delete Junction confusion
Posted: 18 Aug 2022 12:52
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.
Re: Delete Junction confusion
Posted: 18 Aug 2022 14:20
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?
Re: Delete Junction confusion
Posted: 18 Aug 2022 14:36
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.
Re: Delete Junction confusion
Posted: 18 Aug 2022 16:14
by admin
OK, in the next beta you should get the Junctions stuff in the context menu.
Re: Delete Junction confusion
Posted: 19 Aug 2022 11:02
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).
Re: Delete Junction confusion
Posted: 19 Aug 2022 11:04
by admin
Yeah, that's what I meant by "... abuses FILE_ATTRIBUTE_REPARSE_POINT...".
Re: Delete Junction confusion
Posted: 19 Aug 2022 11:39
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.