Multiple bugs concerning deletion/restoration of html files

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
grindax

Multiple bugs concerning deletion/restoration of html files

Post by grindax »

.
Last edited by grindax on 27 Jan 2016 21:05, edited 1 time in total.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Multiple bugs concerning deletion/restoration of html fi

Post by TheQwerty »

For better or worse #1 is the same behavior as Windows Explorer - I vaguely recall previous discussions on this but not the actual content of them (and finding them has proven difficult).

Microsoft refers to these items as "Connected Files": https://msdn.microsoft.com/en-us/librar ... #connected

grindax

Re: Multiple bugs concerning deletion/restoration of html fi

Post by grindax »

.
Last edited by grindax on 27 Jan 2016 21:05, edited 1 time in total.

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

Re: Multiple bugs concerning deletion/restoration of html fi

Post by admin »

Can't do anything apart from adding a native delete routine (which is on my list). However, this will not use the recycler, but terminally delete stuff.

"Connected Files" -- argh -- the dark side of smartness... :blackstorm:

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

Re: Multiple bugs concerning deletion/restoration of html fi

Post by LittleBiG »

And a native recycler :-P

GerryB

Re: Multiple bugs concerning deletion/restoration of html fi

Post by GerryB »

TheQwerty wrote:For better or worse #1 is the same behavior as Windows Explorer - I vaguely recall previous discussions on this but not the actual content of them (and finding them has proven difficult).

Microsoft refers to these items as "Connected Files": https://msdn.microsoft.com/en-us/librar ... #connected
I ran into that recently and lost an HTML file, so I downloaded it again, edited the HTML to remove all references to the connected folder, then was able to delete the folder without losing the HTML file. Sometimes it helps to save such pages as "Web page, HTML only" rather than "Web page, complete", that is if you don't need the images, scripts or stylesheet files.

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

Re: Multiple bugs concerning deletion/restoration of html fi

Post by admin »

Aah, problem solved. Just saw there is a flag for this: FOF_NO_CONNECTED_ELEMENTS :cup: Thank the gods for smartness that can be turned off!

GerryB

Re: Multiple bugs concerning deletion/restoration of html fi

Post by GerryB »

Out of curiosity I just followed TheQwerty's link to that Microsoft article and tried disabling the file-folder connection using their instructions. It works! I saved a complicated web page with all its images, script, etc. and was able to delete the folder without losing the file. These are the steps to take, in case no one has followed that link yet:
Whether file connection is enabled or disabled is controlled by a REG_DWORD value, NoFileFolderConnection, of the following registry key.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

This value normally is not defined, and file connection is enabled. If necessary, you can disable file connection by adding this value to the key and setting it to 1. To enable file connection again, set NoFileFolderConnection to zero.

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

Re: Multiple bugs concerning deletion/restoration of html fi

Post by admin »

Yes, this is the system-wide way to stop the madness.

In XYplorer it is stopped natively now -- no need for system changes.

Post Reply