Chapter 3 — Configuring the Computer
88 CK60 Handheld Computer with Windows Mobile User’s Manual
AutoRun
AutoRun automates operations such as launching other processes and is
configured through the AutoRun data file (AutoRun.dat). This script file
must be in the same directory as the program itself.
AutoRun supports the following script commands in AutoUser.dat and
AutoRun.dat.
AutoRun handles quoted file names for the first parameter which allows
you to specify path names or file names that contain white space. Note that
only one set of quotes per command is supported.
AutoRun.dat entry examples:
AutoCopy
AutoCopy (AutoCopy.exe) copies or moves files from one location to
another. It has no user interface and is configured through command line
arguments. It has support for the following parameters:
Usage:
AutoCopy [-D["W"]] [-L["X"]] [-M[D]] [-Q[Y]] [-S["Z"]]
The return code from the process uses the standard error codes defined in
WinError.h.
Note: If you need to add steps at boot time, add them to AutoUser.dat, not
to AutoRun.dat. AutoRun.dat is provided by Intermec and is subject to
change. AutoUser.dat is the designated place for the end user to add steps
to the boot time process.
EXEC Launches a specified program, waits for it to complete (up to 10 minutes).
CALL Processes a specified file of commands and returns.
CHAIN Processes a specified file of commands and does not return.
RUN Loads a specified program and executes it.
LOAD Loads a specified program and executes it.
RUN “Flash File Store\Apps\some.exe” arg1, arg2, arg3
CALL “Flash File Store\2577\usercmds.dat”
-D Indicates the destination file name and must be fully qualified. W is a string
value.
-L Indicates a fully qualified file name for logging to enable. Default is disabled.
X is a 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.