Chapter 3 — Configuring the Computer
CK60 Handheld Computer with Windows Mobile User’s Manual 91
Customizing How Applications Load on the CK60
If you have several processes that you need running in a specific order as the
CK60 turns on, you can use the AutoRun system to customize the way
applications load. For compatibility with other Intermec computers, you
can place a copy of AutoRun.exe in the same folder as your AutoRun.dat
file but it is not required.
To create and install the AutoRun.dat file on your CK60
1 On the CK60, create a folder called “SYSTEM.”
2 On your desktop, open the Notepad application.
3 Write commands for AutoRun.dat using these supported script
commands:
4 Save this Notepad file as AutoRun.dat.
5 Copy the AutoRun.dat file to the “\SYSTEM” folder on your CK60.
During every boot, the system scans for AutoRun.dat in the “\SYSTEM”
folder.
Here is a sample AutoRun.dat file that runs a dialer application and
connects to a VPN:
EXEC “\Program Files\My Dialer\Dialer.exe” 348-2600
EXEC “\Program Files\My VPN\Connect.exe” MyDomain
Script Command Description
EXEC Launches a specified program and waits up to ten minutes for it to
complete.
CALL Processes a specified file of commands, returns. When you use the
CALL command, the execution of the current file pauses while a
new file that follows the same set of commands executes. Once the
new file completes executing, AutoRun.exe processes the current
file.
CHAIN Processes a specified file of commands and does not return. This
command calls another file that follows the same set of commands
and stops processing the current file.
RUN Loads a specified program and executes it. Specifies the show
window attribute so that the user interface is visible when the
application launches.
LOAD Loads a specified program and executes it. Specifies the hide
window attribute so the user interface is hidden initially.