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.
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.
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.
Answer: Right-click and Save As Webpage.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With