Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 2001

Interesting Win2K Feature

RSS
Subscribe to Windows IT Pro | See More Windows 2000 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.

End of Article



Reader Comments
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.

Simcha Wachtel July 08, 2001


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement