Honeywell MX7 Tecton User Manual page 199

With microsoft windows embedded ce 6.0
Hide thumbs Also See for MX7 Tecton:
Table of Contents

Advertisement

Rmdir
Removes a directory.
Description
Rmdir,dir
Syntax
dir: The full path and name of the directory to be removed.
Parameters
rmdir,\Program Files\MyApp
Example
A directory cannot be removed if it contains files or subdirectories.
Notes
SetRegData
Adds or updates a data field in the registry.
Description
Setregdata,key,subkey,type,field,data[,data2][,data3]...
Syntax
key: The abbreviated major registry key where you want to create/update the subkey. Can be
Parameter
one of:
• cr or hkcr (HKEY_CLASSES_ROOT)
• cu or hkcu (HKEY_CURRENT_USER)
• 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.).
Setregdata,LM,WidgetsPlc\Info,s,AppName,The Widget Program
Example
Setregdata,LM,WidgetsPlc\Info,dx,HexField,FA5B
Setregdata,LM,WidgetsPlc\Info,b,5,d3,62,58,f1,9c
193

Advertisement

Table of Contents
loading

Table of Contents