AppCtrlScript

MAY Computer

Help

SETREG

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

GETREG, REGIMPORTFROMFILE, PUTINI, GETINI

Sets a registry key to the specified value.

Syntax

SETREG <Hive>, <Key>, <Value>[, <CreatePath>][, <Type>] 

Part

Description

<Hive> Registry path to the desired registry key.
<Key> Registry key/variable name.
<Value> Value to set.
<CreatePath> Optional 0 or 1; if 1 the registry hive is created if it does not already exists. Default is 1.
<Type> Optionally Type of the value to set. Can be one of REG_SZ, REG_BINARY or REG_DWORD. Default is REG_SZ.