ReadValue( )
| Action: | Reads
a registry value and returns it as an ASCII string. |
| Syntax: | ReadValue
("subkey", "value") |
| Parameters: |
Subkey
Value
|
| Returns: |
ASCII representation of the specified registry value. 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 ( || ). Regardless
of the value's data type, this function always returns a string variable
type. |
| See Also: |
AddKey(
), DelKey( ),
DelTree( ), ReadType( ),
ReadValue( ), WriteValue(
) |
| Example: |
$Rows
= ReadValue("HKEY_CURRENT_USER\Console\Configuration", "WindowRows") |