Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Windows Vista (not sure about other versions), I've noticed that Explorer may automatically link a file and a folder based on their names.

For example, if I go under Firefox, choose Save As, choose "Web Page, Complete", and save page.htm, then Firefox also creates a page_files folder containing stylesheets and images used by page.htm.

From this point forward, Explorer treats page.htm and page_files as linked. Creating a copy of one also creates a copy of the other. Deleting one automatically (without confirmation) deletes the other. Renaming one, strangely enough, does not rename the other, but it does pop up a dire-sounding warning:

If you rename this file, it will no longer belong to the folder 'page_files.'

To rename it safely, open the file, save it with a new name, and then delete the folder 'page_files'.

Do you want to rename the file anyway?

Is there any way to configure or disable this file-folder-linking behavior? It's a nuisance to have Windows renaming or deleting files and folders without my telling it to, and the workaround of manually renaming one or the other then naming it back is tedious.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Open the Control Panel, and click 'Classic View' on the left sidebar.

Open 'Folder Options'

Click the 'View' tab and scroll down to 'Managing pairs of Web pages and folders'

Choose 'Show and manage the pair as a single file' Now Explorer will only show page.htm and treat both the file and the folder as one file.

Or, choose 'Show both parts and manage them individually' and Explorer will treat them as plain old page.htm and page_files.

share|improve this answer
    
That did the trick. Thanks. Those options weren't available for me, so I used windowsxp.mvps.org/webpairs.htm to find the corresponding registry keys. –  Josh Kelley Jul 8 '10 at 2:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.