Junction links...is this normal behaviour?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Junction links...is this normal behaviour?

Post by chumbo »

Hi,
I'm fairly new to Junction, Symbolic & Hard links so I might be wrong but from what I've read and even seen demonstrated in youtube videos, when you delete the content of a Junction folder, it shouldn't delete the target content...right?
Because that's what's happening in XY. However when I delete the entire Junction folder, then the target and it's content remains.
Seems like a kind of odd and dangerous behaviour which could lead to unwanted consequences (I'm glad I experimented first to discover this subtle difference or it could have been disastrous for me later!)

Can someone clarify, is this specific to XY? Is it intentional or a bug?
Thanks

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Junction links...is this normal behaviour?

Post by highend »

That's total normal behavior
One of my scripts helped you out? Please donate via Paypal

chumbo
Posts: 272
Joined: 04 Jan 2015 15:20

Re: Junction links...is this normal behaviour?

Post by chumbo »

Oh? So it is. I just tried using Windows mklink command, same result. Should have done that prior to posting...
Well, sorry for the stupid question and thanks for the quick response! :tup:
I'm hope someone else will wonder about this eventually and hopefully finds this post and the answer so it's not a total waste forum space.
Cheers,

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

Re: Junction links...is this normal behaviour?

Post by admin »

I agree the behavior is disturbing. And it changed somewhere between Win7 and Win10. The whole junction business is a complication that reminds me to the German tax law.

Post Reply