WinCEGeräte_Handbuch_Administration_v2 00_en
80 / 84
4.1.2.1 Layout of reg files
.reg files must comply with a specific syntax for them to be accepted by the programs:
The file extension is .reg.
REGEDIT4 is entered in the first line of the file.
The file may only contain valid types of registry entries. If the program identifies an unknown type of registry
entry, the processing of a reg. file is aborted immediately.
4.1.2.2 Permissible types of registry entries
The following types of registry entries are accepted in both programs:
Type of registry value
Description
REG_DWORD
One 32-bit integer
REG_SZ
Zero-terminated string
REG_MULTI_SZ
An array of zero-terminated strings, ends with 2 zero characters.
REG_BINARY
Binary data. Maximum of 4 kilobytes.
4.1.2.3 SetReg command line parameters
The table below describes the SetReg options.
Required action
Required parameter
Install a .reg file
[File name]
Install all .reg files in a folder.
-d=[regdir]
Hash value to configure contents of all .reg files in the folder and
check whether anything has changed since the last entry in the
registry. .reg files are only installed when Yes is selected.
-h
Persistently save the registry.
-p
Help function
-?
Define a .reg file with an absolute path as command line parameters to enter the contents into the registry.
The registry is automatically saved persistently when the parameter –p is defined.