Interesting Win2K Feature

I accidentally found an interesting feature in Windows 2000 Server. The best way for you to see what happened is to follow a few simple steps:

  1. Create a folder called Fred.
  2. Create another folder within Fred called Important_files.
  3. Copy a few dummy files into the Important_files folder.
  4. Create a file within Fred called Important.htm.
  5. Delete the Important.htm file.

You'll discover that both the Important.htm file and the Important_files folder have disappeared. The good news is that Microsoft is aware of this problem and addresses it in "Operations on an HTML File or Folder Apply to Similarly Named Folder or HTML File" (http://support.microsoft.com/support/kb/articles/q252/7/21.asp). The bad news is that this functionality is supposedly by design. The Microsoft article explains that if a folder has a specific appendix and a similarly named .htm or .html file exists at the same level as the folder, deleting the file causes the OS to delete the folder as well. The English language appendixes that cause this behavior are _files, _file, .files, filer, and _fails.

To fix this problem, use a registry editor to add the NoFileFolderConnection entry of type REG_DWORD with a value of 1 to the HKEY_CURRENT_USER\Software\Microsoft\Windows\Current-Version\Explorer subkey. This value disables the file connection.

Discuss this Article 1

Simcha Wachtel (not verified)
on Jul 8, 2001
Before you disable this feature, you should understand what its for. If you save documents (for example in Word or Excel 2000) as HTML files, the directory with the same name will have the images or other supplementary files. If you do disable it and want to save as HTML, I'm not sure what would happen.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.