Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

You can add a registry key to specify values that you need.

To specify a key or entry within the registry

  1. Locate the root that you want to use.

  2. Enter the new key or entry as a text string, starting at the selected root. Specify separate subkeys with a backslash (\), as follows.

    Copy Code
    [ROOT]\[Key]\[Subkey]\[Subkey or entry]
    

    Traditionally, applications store data using the following key structure:

    Copy Code
    [ROOT]\Software\[Company name]\[Product name]
    

    For example, Microsoft stores configuration information for the game FreeCell in the HKEY_LOCAL_MACHINE\Software\Microsoft\FreeCellregistry key.

  3. Most APIs access keys under a predetermined root. Therefore, text strings used as parameters should start at the key, rather than the root.

See Also