| The RegEnumKey function | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The RegEnumKey(keyPath, dwIndex) function: The RegEnumKey function enumerates subkeys of the specified open registry key. The function retrieves the name of one subkey each time it is called.dwIndex: Specifies the index of the subkey to retrieve. This value should be zero for the first call to the RegEnumKey function and then incremented for subsequent calls. Because subkeys are not ordered, any new subkey will have an arbitrary index. This means that the function may return subkeys in any order.
Here's an example that reads a list of the registry keys:
|
||||||||||||
| The new scripting host. It is not wscript.exe! |