beautypg.com

Autoexec.reg, Autoexec.bat, Present. see also chapter – Micro Innovations M000174-19 User Manual

Page 8

background image

General Windows

CE

8

M000174-19

After Windows CE is launched, the following functions are run if the

CTRL/DOWNLOAD button

is not

pressed:

1. The bootloader searches for the AutoLaunch.inf file on the SD Flash card. If this file is present, the

program is started under [AutoLaunchBoot]. See also chapter

AutoLaunch

.

2. The registry entries are transferred when the AUTOEXEC.REG file is found in the root directory of

the boot device. See also chapter

Autoexec.reg

.

3. The bootloader also looks for the AUTOEXEC.BAT file in the root directory. This file is run if it is

present. See also chapter

Autoexec.bat

.

1.2 A

UTOEXEC

.

REG

Customer-specific registry entries can be configured using the AUTOEXEC.REG file when the MICRO
PANEL starts up. The file must be stored in the root directory of the boot device. The registry is used
for different settings (see also chapter

Registry Editor

). When the MICRO PANEL is started, the

registry is set according to the image, partly also known as the CE kernel. All other necessary registry
entries must be contained in this file.

The file format is described in the chapter «

Registry Editor

.REG File

».

Note:
The file AUTOEXEC.REG file is not executed if the

CTRL/DOWNLOAD button

is pressed during the

startup!

1.3 A

UTOEXEC

.

BAT

A customized panel start can be implemented with the AUTOEXEC.BAT start file. This enables
command line commands to be executed without a keyboard. The file must be stored in the root
directory of the device. A search is carried out for the «Autoexec.bat» file for 10 seconds after the
operating system is started. If the file is found, it is executed using a «CMD» Shell. The «CMD» Shell
is given a parameter (%1) for the AUTOEXEC.BAT file with the name of the boot device. This
parameter can be used to start programs from the correct device:

Note:
The file AUTOEXEC.REG file is not executed if the

CTRL/DOWNLOAD button

is pressed during the

startup!

Important:
If a download is executed with the GALILEO Design Tool, the AUTOEXEC.BAT file is created again
on the basis of the INI file in the GALILEO project. This means that any required settings must be
added to the INI file. For more information on this refer to the chapter «INI File Startup» in the
GALILEO online documentation.