Autoreg – Intermec 751G User Manual

Page 65

Advertising
background image

Chapter 3 — Configuring the Computer

751G Color Mobile Computer User’s Manual

51

Usage:

AutoCopy [-D["W"]] [-L["X"]] [-M[D]] [-Q[Y]] [-S["Z"]]

Process return code uses standard error codes defined in WINERROR.H.

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”

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"

The format of the input file, in this example, is the standard registry format
which should ease the creation of the input file since there are many
publicly available utilities to generate a registry file besides Notepad.

-D

Indicates destination file name and must be fully qualified. W is a string value.

-L

Indicates qualified file name for logging to enable. Default is disabled, X string value

-M Moves file to a destination rather than copies the file. Default value is disabled. D is

an integer value. D=1 indicates enabled, 0 is disabled.

-Q

Indicates if a message box should appear when an error occurs. Default is disabled. Y
is an integer value.

-S

Indicates a source file name and must be fully qualified. Z is a string value.

-D

Deletes registry file after a good load, allows systems with implemented hives

-H

Saves 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.

Advertising