|
...or a very nasty touch - I'm not sure which.
When you save a webpage (certainly in Chrome, dunno about the others) is saves all the odds and ends in a folder, with the same name as the HTML file. (I do this when I find an recipe I want to try)
If you then delete the HTML file in Win 7 Windows Explorer, the folder is deleted as well - even if you have added files to it - with no warning.
That's a nice touch - if you haven't added anything.
That's kinda nasty - if you have...
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
How does it even do that?
|
|
|
|
|
I am quite skeptical about this behavior. I don't think it should happen. Anytime we create a folder, it's windows' property (the operating system). Hence, any application should not be getting rid of the folder unless it stops user from adding another file to that folder.
Are you sure this happens? If yes, can you kill any Google's services running on the computer and try again?
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
d@nish wrote: Are you sure this happens?
Oh yes!
d@nish wrote: If yes, can you kill any Google's services running on the computer and try again?
Oh yes!
Try it yourself:
1) Create a new folder: in my case D:\Temp\TestSave
2) Save this page as a "web page, complete".
3) Look in the folder to find two objects: the "Reply to Message - CodeProject.html" file and the "Reply to Message - CodeProject_files" folder. Copy a file from some other part of your HDD into the folder.
4) Close Chrome, (and IE and Firefox if you're running them)
5) Browse to the TestSave folder.
6) Shift and Delete the file, not the folder.
Oops! Both objects vanished!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
There's no magic to it, but it is a bit dangerous.
It's as simple as this... If Explorer finds a folder, in the same directory as the .htm file you're deleting, with the same name as the .htm file with "_files" appended to it, that folder gets deleted to. For example: "Something.htm" and "Something_files". Delete the .htm file and the folder of the same name gets it too.
IT DOES NOT MATTER IF IE SAVED THAT FILE/FOLDER COMBINATION OR NOT! There is no special streams telling Explorer that the two file/folder items are related. It just looks at the names.
|
|
|
|
|
I had a horrible feeling that was going to be the case.
Ok, I'm decided - that's nasty!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
I would call that magic. Evil black-"let's special-case the combination of *.htm and *_files"-magic.
|
|
|
|
|
I'm surprised Chrome doesn't support .mht files, as does IE, where the whole web page is saved as a single file. I mainly use IE and always save as .mht.
Incidentally, XP had a setting whereby saved web pages could be treated as a single entity, or the two entities treated separately.
Another retrograde improvement, I guess.
|
|
|
|
|
I discovered this some years ago. There is obviously some internal link between the HTML page and the subdirectory containing all the extra pieces (images etc). Actually, I think it's quite a useful feature; if I delete the HTML page I don't get left with an orphan directory.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
That's why I thought it was a nice touch - but how difficult would it have been to say "Do you want to remove the associated folders as well?".
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|
|
Ah, but Microsoft knows you're a big lad.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
OriginalGriff wrote: how difficult would it have been to say...
something like: Do you want to format C:\? Yes, Maybe, Of course
Probably not dificult, but not so funny
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Particularly given how many annoying 'yes I'm sure do it to all of them' dialogs you get when copying a directory over another one ...
This is a horrible nasty special case that could be really annoying.
|
|
|
|
|
_files is a kind of regex match for Windows Explorer for a related file a.html
Steps to reproduce:
1) Create a file a.html in desktop
2) Create a folder a_files.
3) Now delete a.html and a_files will vanish too.
Confirmation of Linkage:
1) Create a file a.html in desktop
2) Create a folder a_files
3) Now rename the file a.html to a.txt. Windows should popup a warning that the file will no longer be related to a_files.
When creating/renaming files, ensure that Windows Explorer is set to display extensions because by default even if you create .html it would be creating as txt.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
What you want is this[^].
I could've sworn there was a checkbox somewhere in either Explorer or IE, but if it was there at some point, I can't find it right now.
Personally, I save web content as MHT files.
|
|
|
|
|
|
Most of us are busy ranting about something or other. So, yes.
IMO, it's lame. Probably a bug presented to management as a feature and got approved.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[ ^]
|
|
|
|
|
Use Evernote instead. Save, bookmark, tag sites for offline use.
|
|
|
|
|
One step more into adding dangerous features just to "help the dumb users" to delete an html file properly.
Having a brain does not seem to be a feature of the standard microsoft users, according to specs-
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|