SetRegData
Description
Adds or updates a data field in the registry.
Syntax
Setregdata
,
key,subkey,type,field,data[,data2][,data3]...
Parameters
key:
The abbreviated major registry key where you want to create/update the subkey. Can be one of:
l
cr
or
hkcr
(HKEY_CLASSES_ROOT)
l
cu
or
hkcu
(HKEY_CURRENT_USER)
l
lm
or
hklm
(HKEY_LOCAL_MACHINE).
The case of
key
doesn’t matter
subkey:
The subkey you want to create/update a field in.
type:
The data type of the field you wish to create/update. Can be s (for string value), dd (for decimal value), dx
(for hexadecimal value) or b (for binary value). The case of
type
doesn’t matter. If you’re altering an existing
field,
type
can be different from the current type
field:
The name of the new field to be created/updated.
data:
The value of the field being created. This depends on the
type
of field. Binary fields can have many values
(up to 2000 bytes). In this case the data field holds the number of bytes in the binary field, and each byte is
given as a subsequent parameter in hexadecimal (
data2, data3
etc.).
Example
Setregdata,LM,WidgetsPlc\Info,s,AppName,The Widget Program
Setregdata,LM,WidgetsPlc\Info,dx,HexField,FA5B
Setregdata,LM,WidgetsPlc\Info,b,5,d3,62,58,f1,9c
5-16
Summary of Contents for MX7 Tecton
Page 14: ...xiv ...
Page 24: ...1 10 ...
Page 38: ...3 4 ...
Page 166: ...Hat Encoding Hat Encoded Characters Hex 00 through AD 4 128 ...
Page 167: ...Hat Encoded Characters Hex AE through FF 4 129 ...
Page 176: ...4 138 ...
Page 177: ...4 139 ...
Page 202: ...Enter user name password and domain to be used when logging into network resources 4 164 ...
Page 209: ...4 171 ...
Page 240: ...5 22 ...
Page 276: ...7 30 ...
Page 320: ...8 44 ...
Page 325: ...Click the Request a certificate link Click on the advanced certificate request link 8 49 ...
Page 326: ...Click on the Create and submit a request to this CA link 8 50 ...
Page 334: ...8 58 ...
Page 358: ...9 24 ...
Page 362: ...10 4 ...
Page 365: ...11 3 ...