|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
xplorer˛ stores its settings in the registry, but what on earth is this registry? In the old days (before windows 95) programs saved their settings in a plain text file called WIN.INI, which over time grew to be huge and messy, so the registry was born as its replacement. The idea is largely the same: a file somewhere on your hard disk that keeps program settings (e.g. where was the xplorer˛ window on the screen last time you used it) and system settings — your hardware configuration for example. You will read many myths about the registry, like it is this sacred place that mere mortals should not enter without risking doom. Rubbish! True, you can damage your system if you start modifying or deleting entries in the registry willy-nilly, but mere "read-only" inspection is safe and indeed liberating experience the first time round. So let's try it: Click Start then pick Run menu command and type regedit and click OK. That's it, the mighty registry. As you see after running regedit, the registry looks like a virtual hierarchical filesystem with a familiar tree/view user interface. You have registry keys ("folders") on the left, with subkeys, and if you click on one you see its content on the right hand side pane. These "files" (values is their registry terminology) have a descriptive name and contain some data. All too familiar, isn't it? All these "folders" and "files" even have context menus, right click on them and see what happens — but do not try any command that modifies anything, remember we are in read-only mode! If you start browsing the contents, you will realize that there's a huge amount of information in the registry, but it is well organized in thematic groups. There are four main categories called hives which appear as root folders in the tree view:
Technically speaking the registry database is spread among a number of files. There is a main part with information that applies for all users and particular files with favorite settings for each individual user. My settings are stored under C:\Documents and Settings\nikos\NTUSER.DAT. So there you have it, the windows registry basics demystified. I hope your computer still works <g> Next time we'll see how to get some more useful information playing with the registry. The standard disclaimer follows for the litigious types in the audience :)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
© 2002—2008 Nikos Bozinis, all rights reserved |