User's Manual Part 2

Table Of Contents
Chapter 3 — Configuring the Computer
80 PRELIMINARY - CN3 Mobile Computer User’s Manual
AutoRun supports the following script commands in AUTOUSER.DAT
and AUTORUN.DAT.
AutoRun handles quoted file names for the first parameter to allow specify-
ing path names or file names that contain white space. Note only one set of
quotes per command is supported. AUTORUN.DAT entry examples:
AutoCopy
AutoCopy (AUTOCOPY.EXE) copies/moves files between locations. It
has no user interface and is configured through command line arguments.
It has support for the following parameters, in no particular order:
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"
Note: If you need to add steps at boot time, add them to
AUTOUSER.DAT, not to AUTORUN.DAT. AUTORUN.DAT is pro-
vided by Intermec and is subject to change. AUTOUSER.DAT is the des-
ignated 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.