User Manual

Table Of Contents
Chapter 3 — Developing and Installing Applications
68 CN4 Series Mobile Computer User’s Manual
You will see other components available from the InstallSelect
application based on the options you selected for your CN4.
Launching An Application Automatically
There are two ways to automatically launch your application when
you perform a reset on the computer:
Make sure your .cab file places a shortcut to your application in
the \Windows\StartUp folder.
Configure the AutoRun program to launch your application.
The computer contains a program called AutoRun.exe which
automates operations such as launching other processes. You can
configure AutoRun.exe through the AutoRun data file, AutoRun.dat.
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 computer
1 Create a folder called System on your CN4.
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 CN4.
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.