The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Shell Folders - A Registry Key That Should Never Have Been

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Doug Thews

Posts: 866
Nickname: dougthews
Registered: Jul, 2003

Doug Thews is a software developer/manager for D&D Consulting Services with 18+ years of experience
Shell Folders - A Registry Key That Should Never Have Been Posted: Nov 6, 2003 10:07 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Doug Thews.
Original Post: Shell Folders - A Registry Key That Should Never Have Been
Feed Title: IlluminatiLand
Feed URL: http://apps5.oingo.com/apps/domainpark/domainpark.cgi?client=netw8744&s=JETBRAINS.COM
Feed Description: A technology blog for people enlightened enough to think for themselves
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Doug Thews
Latest Posts From IlluminatiLand

Advertisement

Raymond Chen has an interesting post on the Windows Shell Folders Registry key.

Apparently, this was a key used in a beta version of Windows 95 to identify where the OS could find special folders (like Control Panel, Printers, etc). During the beta, they decided to remove the key and add an API (SHGetSpecialFolderLocation) and updated the documents - then left the key in to allow some older OS bits to get updated during the beta process.

Well, as luck would have it, developers latched on to this key and wrote code for it. Not noticing the documentation updates later (and because their programs still worked), these code samples never got updated. So, when Windows 95 was released, new developers (instead of reading the docs), searched the registry for their information and found it - pretty much making the Shell Folders key a legacy key that had to be kept.

So, when you see the Shell Folders key - remember, it's really on there to permit 4 programs written in 1994 to continue running on the RTM version of Windows 95. Very interesting ...

Which leads us to his philosphical point:


If a program never worked in the first place, is it still a bug that it doesn't work today?

Read: Shell Folders - A Registry Key That Should Never Have Been

Topic: Scoble, cars, and NewsGator Previous Topic   Next Topic Topic: The New Microsoft, or How to Add Value to the Microsoft Development Community

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use