winRegistry.getType

Syntax winRegistry.getType (path)

Params path is a backslash-delimited path name to the registry key whose type you wish to determine.

Action Determines the type of a registry key.

Returns The type of the registry key or value, or false if there is no key or value at the specified path.

Examples winRegistry.getType ("HKCR\\.txt\\")

   » "REG_SZ"

winRegistry.getType ("HKCR\\batfile\\EditFlags")

   » "REG_BINARY"

winRegistry.getType ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shutdown Setting")

   » "REG_DWORD"

winRegistry.getType ("HKCU\\DoesNotExist\\")

   » false

Notes Top-level keys may be abbreviated. The key names and corresponding abbreviations are:

HKCR -- HKEY_CLASSES_ROOT

HKCU -- HKEY_CURRENT_USER

HKLM -- HKEY_LOCAL_MACHINE

HKU -- HKEY_USERS

HKCC -- HKEY_CURRENT_CONFIG

This verb is new in Frontier 7.0.

Platform Notes This verb is only implemented in the Windows version of Frontier.

See Also winRegistry.read

winRegistry.write

winRegistry.delete

Discuss