Renaming a file that "belongs" to a folder

  • Thread starter Thread starter Tx2
  • Start date Start date
T

Tx2

After several years of Windows, and several months of XP, i've just
discovered something new!

I saved a web page to a folder (using Firefox) but didn't need the
graphics files associated with the page that had been saved in a second
folder within the first.

The second folder name was the same as the file name of the web page i'd
saved.

Still with me ...??

When i went to rename the HTML file, it told me that to doing so would
mean the file would no longer "belong" to the folder containing the
graphics.

If i deleted the folder containing the graphics, the HTML file also got
deleted.

The only way to 'break' this "belonging to" was to rename the HTML file
and agree to lose the association when a dialogue box popped up.

How is this "belonging to" association created, can i be done manually,
across different folders?
 
This is strictly an issue with web pages. Web pages are not a single
element, they are made up of multiple elements and the various elements are
saved in separate folders. The assumption is, you wouldn't be accessing the
saved page in Windows Explorer, rather you would have created a link or
shortcut to the page on your hard drive.
 
This is strictly an issue with web pages. Web pages are not a single
element, they are made up of multiple elements and the various elements are
saved in separate folders. The assumption is, you wouldn't be accessing the
saved page in Windows Explorer, rather you would have created a link or
shortcut to the page on your hard drive.

So how does Windows create this "belong to" feature? I design/create web
pages, and it would be quite useful to 'link' folders in this way.

Or is it exclusive to pages that have been saved by a browser, in this
case, Firefox?
 
David, in this thread has pretty much answered the question. You really
don't need to do anything except create an html webpage, then save the page,
if there are additional elements, XP should save the page the same as it
would any page at a website.
 
So how does Windows create this "belong to" feature? I design/create web
pages, and it would be quite useful to 'link' folders in this way.

Or is it exclusive to pages that have been saved by a browser, in this
case, Firefox?

The link between the HTML file and the folder is created by the html in the
web page. Example: A path to an image is noted in the html. That path is
used to locate the image when the page is displayed in a browser - if the
path is wrong, the image won't show. You know this from your web page
authoring but perhaps never looked at it this way before.

Folder Options> View has a "Managing pairs of Web pages and folders"
section. By changing the settings here, you can alter how the pair will be
managed.
 
The link between the HTML file and the folder is created by the html in the
web page. Example: A path to an image is noted in the html. That path is
used to locate the image when the page is displayed in a browser - if the
path is wrong, the image won't show. You know this from your web page
authoring but perhaps never looked at it this way before.

Yes, however, pages i have designed, and store on my computer, i.e.
index.html which has a reference to a folder called "images" doesn't
have this link as i am able to delete either file/folder without
affecting the other.

Apparently someone else has replied the reason by way of the naming
protocol, but this means each folder must be called the same as the html
file with "_file" appended, so i think it can only be practically
utilised when pages are saved from the net as i have a variety of html
files, but only one "images" folder (for example)
Folder Options> View has a "Managing pairs of Web pages and folders"
section. By changing the settings here, you can alter how the pair will be
managed.

So i see
 
When you save as windows edits the htm file and fixes up links with a relative path to that folder. It's useless for web design. An average user only sees the htm file not the folder.
 
Back
Top