Next Topic

Previous Topic

Book Contents

setRegistryValue() / set64BitRegistryValue()

Warning: Certain registry locations require 64-Bit Commands for 64-bit Windows machines.

Writes data to the specified registry value. This function takes three parameters:

Example

setRegistryValue("HKEY_CURRENT_USER\KaseyaAgent-HKCUTest\TestDirectoryPath", "c:\temp", "REG_SZ", "All Operating Systems", "Halt on Fail")