beautypg.com

Autostart.ini, Autostart.ini -14 – Datalogic Scanning Pegaso User Manual

Page 60

background image

3-14

Pegaso™ Industrial PDA with Windows

®

CE

Example:

File.cab

” should be renamed “

File_.cab

” to force AutoStart to not install the

CAB in silent mode. This specially-named CAB file should be placed in the AutoStart
folder with other CAB files intended for installation on the next reboot.

Autostart.ini

Autostart.ini

and

PreAuto.ini

are text files that AutoStart will run upon star-

tup of the Falcon, and after any CAB files are installed. This file should be placed in the
AutoStart folder. AutoStart will run the

Autostart.ini

file on each reboot of the

device.

Line Formatting

Each line of the

Autostart.ini

can consist of Autostart options, an executable, and

any command line arguments.

< Autostart option(s)>

arguments>

Sample:

- \windows\pword.exe \file.doc

Table

3-5

breaks down the sample

Autostart.ini

line.

Table 3-5. Autostart.ini line formatting

Spaces must be placed between each component of the line in the

Autostart.ini

.

If the executable path is in a folder that contains spaces in the name, quotes are required
to distinguish what the actual executable name is. The following is an example of this:

“\Program Files\ScannerApp.exe” /run (valid)

\Program Files\ScannerApp.exe /run (invalid)

The second line is an invalid line because there is no way to distinguish the executable
from the argument.

AutoStart Options

Table

3-6

shows options you can use when writing a line in the

Autostart.ini

or

PreAuto.ini

file.

Autoexec.ini, which uses AutoCE on some older models, has been deprecated. These
files should be renamed to Autostart.ini and reformatted as described in "AutoStart" on
page 3-12.

In the following section, all references to AutoStart.ini also pertain to PreAuto.ini.

Autostart

option(s)

Full path to executable

Command line arguments

-

\windows\pword.exe

\file.doc