
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.
Chapter 3 — Configuring the Computer
44 CK60 Mobile Computer with Windows CE User’s Manual
AutoRun handles quoted file names for the first parameter which specifies
path names or file names that contain white space. Note only one set of
quotes per command is supported. AutoRun.dat entry examples:
RUN “Flash File Store\Apps\some.exe” arg1, arg2, arg3
CALL “Flash File Store\SYSTEM\usercmds.dat”
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 these parameters, in no particular order:
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.
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
AutoReg.exe adds registry information to the Windows CE registry. It has
no user interface and is configured through command line arguments.
-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.
Komentarze do niniejszej Instrukcji