Prev | Current Page 453 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


RegRead(strName) Reads the value or key specified by strName from the registry. If strName
ends in a backslash, then RegRead reads a key. You must provide a fully qualified path to the key
180 CHAPTER 6 WORKING WITH SCRIPTS
or value that you want to read. In addition, strName must begin with one of these values: HKEY_
CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_CLASSES_ROOT, HKEY_USERS, HKEY_CURRENT_CONFIG,
or HKEY_DYN_DATA. RegRead can only read specific data types including REG_SZ, REG_EXPAND_SZ,
REG_DWORD, REG_BINARY, and REG_MULTI_SZ. Any other data types will return an error.
RegWrite(strName, anyValue [, strType]) Writes the data specified by anyValue to a
value or key specified by strName to the registry. If strName ends in a backslash, then RegWrite
writes a key. You must provide a fully qualified path to the key or value that you want to write.
In addition, strName must begin with one of these values: HKEY_CURRENT_USER, HKEY_LOCAL_
MACHINE, HKEY_CLASSES_ROOT, HKEY_USERS, HKEY_CURRENT_CONFIG, or HKEY_DYN_DATA. RegRead
can only write specific data types including REG_SZ, REG_EXPAND_SZ, REG_DWORD, and REG_BINARY.
Any other data types will return an error.


Pages:
441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465
RegaƂy kompresory remanent ATB hostel krakow