Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

READTYPE

action

returns the ASCII representation of a registry entry data type (for example, REG_SZ).

syntax

READTYPE ("subkey", "entry")

parameters

Subkey

Identifies the subkey containing the entry.

Entry

Identifies the entry whose data type you want to discover.

returns

0

Function returns ASCII representation of data type for specified registry entry

Error code

Function failed

The following data types can be returned:

  • REG_NONE
  • REG_SZ
  • REG_EXPAND_SZ
  • REG_BINARY
  • REG_DWORD
  • REG_DWORD_LITTLE_ENDIAN
  • REG_DWORD_BIG_ENDIAN
  • REG_LINK
  • REG_MULTI_SZ
  • REG_RESOURCE_LIST
  • REG_FULL_RESOURCE_DESCRIPTOR
example

$RowsType = ReadType("HKEY_CURRENT_USER\Console\Configuration", "WindowRows")

If @ERROR = 0

   ? "Type of  WindowRows: $RowsType"

Endif