
Chapter 4— Developing and Installing Applications
100 CK32 I-Safe Handheld Computer Users Manual
Example:
; use AutoCopy to copy the control panel from flash file store to
windows.
autocopy.exe -S"\Flash File Store\System\Audio.cpl" -
D"\Windows\Audio.cpl"
; use AutoCopy to move the control panel from flash file store to
windows.
autocopy.exe -M1 -S"\Flash File Store\System\Audio.cpl" -
D"\Windows\Audio.cpl"
AutoReg
The AutoReg (AutoReg.exe) component adds registry
information to the Windows Mobile registry. It has no user
interface and is configured through command line arguments.
Usage:
AutoReg [-D] [-HKey] [-Q] “filename”
AutoReg Script Commands
Process return code uses standard error codes defined in
WinError.h.
Example:
; use AutoReg to install this registry information.
autoreg.exe "\Flash File Store\install.reg"
; use AutoReg to install this registry information. Delete the file
afterwards.
autoreg.exe -D "\Flash File Store\install.reg"
; use AutoReg to extract registry information to a file.
autoreg.exe -HHKEY_LOCAL_MACHINE\Software\Intermec\Version
"\version.reg"
Command Description
-D Deletes the registry file after successfully loading it.
This allows for systems that have hives
implemented.
-H Saves the registry path, and all child entries, to the
specific .REG registry file.
-Q Indicates whether a message box should appear
when a fatal error occurs.
filename Fully qualified file name to read from or write to,
encased in double quotes to support spaces in paths
or file names. See examples below.
Comentarios a estos manuales