Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 13, 2001 12:00 AM

Interesting Win2K Feature

Windows IT Pro
InstantDoc ID #21108
Rating: (0)

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.

Related Content:

ARTICLE TOOLS

Comments
  • Simcha Wachtel
    11 years ago
    Jul 08, 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.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.