Launching An Application Automatically - Intermec CN4 User Manual

Hide thumbs Also See for CN4:
Table of Contents

Advertisement

Chapter 3 — Developing and Installing Applications

Launching An Application Automatically

68
You will see other components available from the InstallSelect
application based on the options you selected for your CN4.
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.
CN4 Series Mobile Computer User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cn4e

Table of Contents