User's Manual Part 3
Table Of Contents
- Chapter 2 - Windows Mobile
- Software Builds
- Where to Find Information
- Basic Usage
- Microsoft ActiveSync
- Microsoft Outlook Mobile
- Calendar: Scheduling Appointments and Meetings
- Synchronizing Calendar
- Why Use Categories in the Calendar?
- What Is an All Day Event?
- What Is a Recurrence Pattern?
- Viewing Appointments
- Creating or Changing an Appointment
- Creating an All-Day Event
- Setting a Reminder for an Appointment
- Adding a Note to an Appointment
- Making an Appointment Recurring
- Assigning an Appointment to a Category
- Sending a Meeting Request
- Finding an Appointment
- Deleting an Appointment
- Changing Calendar Options
- Contacts: Tracking Friends and Colleagues
- Tasks: Keeping a To Do List
- Notes: Capturing Thoughts and Ideas
- Messaging: Sending and Receiving E-mail Messages
- Calendar: Scheduling Appointments and Meetings
- Companion Programs
- Internet Explorer Mobile
- Chapter 3 - Configuring the Computer
- Developing Applications for the Computer
- Packaging Applications for the Computer
- Installing Applications on the Computer
- Launching Your Application Automatically
- Customizing How Applications Load on the Computer
- Configuring Parameters
- Reprogramming the CN3 Keypad
- Configuring the Color Camera
- Configuring the SF51 Cordless Scanner
- Using Configuration Parameters
Chapter 3 — Configuring the Computer
CN3 Mobile Computer User’s Manual 87
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. One
example of a tool is the Microsoft Remote Registry Editor.
AutoCab
AutoCab (AutoCab.exe) extracts files, registry settings, and shortcuts from
Windows Mobile cabinet (.cab) files. The Windows Mobile startup
sequence invokes AutoCab as a part of AutoExec and AutoRun. During the
Windows Mobile startup sequence, AutoCab processes all cab files in the
“\CabFiles” directory relative to the current location of Autocab, unless the
location is overridden by command line arguments. AutoCab can run as a
stand-alone program to install a cab file or a directory of cab files.
AutoCab only installs the cab file if it was not installed before by AutoCab.
To track the installation of a cab file, AutoCab marks the cab file with the
System attribute. This attribute is ignored if the device is performing a
clean-boot on a non-persistent file system.
AutoCab preserves the cab file after installation if the ReadOnly attribute is
set. If not set, the cab file is deleted automatically after installation.
Command line switches are described as follows.
Usage:
AutoCab [-ChkRst=][-File=][-Force][-Log=][-Move=][-Quiet=][-Show=][-Signal=]
-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.
-ChkRst= Set to 1 to configure AutoCab to check for the Reset flag after all cab files are installed. This file is created
by cab files that want a clean reset after installation. Default is 0 (do not check for flag).
-File= Specifies the cab files to extract. Note that the specified files need not end with the .cab extension.
-Force Forces the specified cab files to extract regardless of whether it was previously extracted.
-Log= Set to 1 to create a log file in the same folder that AutoCab is running. Useful for debugging cab
installation. Default is 0 (disabled).