Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reason why folder associated with saved webpage gets deleted when we delete saved page

I have saved a complete webpage and there is also one folder saved with resources but when I delete webpage or move saved webpage to other directory then the folder associated with it also gets deleted or moved. So what is the code written behind it. Because I want to do same with my webpage and folder.

Thanks in advance for you kind help.

like image 345
Bharat Avatar asked Jan 11 '16 08:01

Bharat


People also ask

What happens when a folder is deleted?

Remember, when you delete a folder, you're also deleting everything inside of it. Note: If you think you might need that folder (and its contents) later, back it up to a data file before you delete it. Right-click the folder you want to delete and click Delete Folder.

Could not find this item while deleting folder?

Restart Windows Explorer Right-click Start on the Taskbar and select Task Manager. In the Processes tab, select Windows Explorer and click the Restart button in the bottom right corner. Try to delete the file or folder and see if the “Could not find this item” prompt will show up again.

How do you save a website before it gets deleted?

Answer: Right-click and Save As Webpage.


1 Answers

This "association" between the HTML file and its resources folder is a behaviour implemented by the Windows operating system.

It has nothing to due with a webpage in particular, with its HTML, JavaScript, or even with a particular browser.

Windows 2000 provides a simple way to connect a primary HTML file to its group of associated files. If Connected Files is enabled, when you perform any of the commands [Copy, Cut, Paste, Move, Delete, Send To] on a file or folder of associated files, the same command is performed on all connected files.

Even though the official page mentions "Windows 2000", the same behaviour is implemented in Windows XP and many (if not all) later versions of Windows.

See these pages:

  • Removing file / folder link after using “Save As…” then “Web Page, complete”
  • Operations on an HTML file or folder apply to similarly named folder or HTML file (from Microsoft support)
like image 90
ghybs Avatar answered Nov 02 '22 23:11

ghybs