Delete Junction confusion

Things you’d like to miss in the future...
LittleBiG
Posts: 1846
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: 60564
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 1846
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: 60564
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @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: 1846
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: 60564
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Delete Junction confusion

Post by admin »

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

LittleBiG
Posts: 1846
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