|
| KiXtart Command Reference |
READVALUEactionReads the value of a registry entry. syntaxREADVALUE ("subkey", "entry") parametersSubkey Identifies the subkey containing the entry. Entry Identifies the entry whose value you want to discover. To read the default entry of a key, specify an empty string as the entry name (). returns
REG_MULTI_SZ (multi-string) variables are returned with the pipe symbol ( | ) used as the separator between strings. If a string contains a pipe symbol character, it is represented by two pipe symbol characters ( || ). REG_DWORD variables are returned in decimal format. example$Rows = ReadValue("HKEY_CURRENT_USER\Console\Configuration", "WindowRows") If @ERROR = 0 ? "Number of window-rows: $Rows" Endif |