Chapter 4 — Developing and Installing Applications
112
To create and install the AutoRun.dat file on your computer
1 Create a folder called System on your CN3.
2 Open the Notepad application on your PC.
3 Write commands for AutoRun.dat using the supported
AutoRun script commands.
4 Save the Notepad file as AutoRun.dat.
5 Copy the AutoRun.dat file to the System folder on the CN3.
During every boot, the system scans for AutoRun.dat in the
System folder.
AutoRun supports the following script commands in
AutoRun.dat:
AutoRun Script Commands
Command
Description
EXEC
Launches a specified program and waits for it to finish
(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.
AutoRun handles quoted file names for the first parameter, which
allows you to specify path names or file names that contain white
spaces. AutoRun only supports one set of quotes per command.
CN3 Series Mobile Computer User's Manual