Page 1 of 1
Multiple bugs concerning deletion/restoration of html files
Posted: 31 Dec 2015 19:32
by grindax
.
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 04 Jan 2016 16:59
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
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 04 Jan 2016 17:17
by grindax
.
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 15 Jan 2016 12:43
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...

Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 15 Jan 2016 16:11
by LittleBiG
And a native recycler :-P
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 15 Jan 2016 20:38
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.
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 16 Jan 2016 10:07
by admin
Aah, problem solved. Just saw there is a flag for this: FOF_NO_CONNECTED_ELEMENTS

Thank the gods for smartness that can be turned off!
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 16 Jan 2016 16:02
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.
Re: Multiple bugs concerning deletion/restoration of html fi
Posted: 17 Jan 2016 13:30
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.