Micro Innovations M000174-19 manual Autoexec.Reg, Autoexec.Bat

Page 8

General

Windows CE

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.2AUTOEXEC.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 .REGFile».

Note:

The file AUTOEXEC.REG file is not executed if the CTRL/DOWNLOAD button is pressed during the startup!

1.3AUTOEXEC.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.

8

M000174-19

Image 8
Contents System Description Windows CE Imprint Windows CE Contents Contents Licensing IndexStartup Behavior General Windows CEGeneral Windows CE General DhcpAUTOEXEC.REG AUTOEXEC.BATStart REM Following Msdos compatible commands are available AUTOEXEC.BMPCTRL/DOWNLOAD Button File SystemGeneral Windows CE Start shortcut -p FtpSvr.exe ShortcutsParameter Description Power Supply Interruption Ethernet Access to PCWindows CE Ethernet Ethernet Windows CE Access to Micro Panel Name Resolution CehostsAccess to enabled printer of a Windows computer Printing Windows CEPrinting Printing VIA EthernetPrinting using Windows driver Printing using ESC sequencesWindows CE Printing Parallel InterfaceSystem settings Windows CE System SettingsWindows CE System settings Command Line ParametersExamples Call Expanding the Control PanelDate / Time and Time Zone Setting Datetime Screen Setting Display Dim ValueOrientation Windows CE System settings Software Input Panel KeyButtonSize5 Dword License Administrator License SerialPoints Change LicenseNetwork Setting Network GatewaySystem settingsWindows CE IP classes192.168 .0.0 to 192.168 Examples of invalid subnet masks Binary formatInfo NET Setup Netsetup Owner OwnerSystem Properties System Total MemoryStorage Memory Program MemoryMisc Touch Touch Touch Disable/Enable Touch Lock Echo OFFKeyboard Setup Keyboard Bootdevice Setup Bootdevice Storagemanager Storagemanager System settings Windows CE Windows CE Network test Network TestActivesync Connection RepllogswitchActiveSync connection Windows CE Procedure Activesync Windows CE ActiveSync connectionProcedure Manual Server Windows CE Programs ProgramsPrograms Windows CE FormatRemote Server Password Settings Remote Client Chapter Touch Enable/Disable Menu item DescriptionProcedure UseDeactivates a previously activated password protection Html Browser Internet Explorer Programs Windows CE ProxySettings MIExplorer DescriptionMiExplorer ButtonsExample of an INI file MIExplorer MIExplorer ButtonsWEB Server Httpd Topic Chapter Root directoryEntry Type Description Example Description Access authentication aUser List UserList Access Permissions Values in hexFunctionality Call Virtual Directory Settings File ServerFile Server START/STOP User Administration Useradmin Function CallSntp Client START/STOP/REFRESH of the Sntp Client Registry Editor Type Description Example of a REG fileFor example CF BackupBackground Picture Wallpaper Windows CE Programs AutoLaunch AutoLaunchBootAutolaunch File System Size Storagememorysize Device Restart RebootInformation Display Info System Performance Idlecount Windows CE Programs From Windows CE 5.0 Professional Plus Programs from Windows CE 5.0 Professional PlusFile Viewer Applications General LimitationsMicrosoft Image Viewer Relicensing Procedure Windows CE LicensingLicensing With a license product certificateIndex Index Windows CEWindows CE Index Windows CE Windows CE