
Chapter 4 — Developing and Installing Applications
CK32 I-Safe Handheld Computer Users Manual 99
; Log any debug output to a trace file.
LOGGING 1
; Perform a SetEvent on the event name "autoexec_started".
SIGNAL "autoexec_started"
; Include this child data file, childexec.dat.
CALL "\childexec.dat"
; Use autocopy to copy the audio control panel from flash file store
to the windows directory. Wait for up to 60 seconds for it to exit.
EXEC "\Flash File Store\SYSTEM\autocopy.exe" -S"\Flash File
Store\System\CPLAudio.cpl" -D"\Windows\CPLAudio.cpl"
; Change the default EXEC wait time to 90 seconds.
EXECWAIT 90
; Suspend processing any commands for 10 seconds.
WAIT 10
; Suspend processing any commands until event called MyEventName is
signaled.
WAITFOR "MyEventName"
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"]]
AutoCopy Script Commands
Process return code uses standard error codes defined in
WinError.h.
Command Description
-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.
Kommentare zu diesen Handbüchern