IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


The AUTOEXEC.BAT file is a special batch file that is executed after system boot. It can be used to automatically start programs or process any other shell commands right after RTOS has started up. The AUTOEXEC.BAT is not processed if any boot error occures.

It is also possible to stop the execution of the AUTOEXEC.BAT manually by pressing CTRL + C (via a terminal) while the system starts up. The @CHIP-RTOS-LNX will in this case ask whether the file should be executed or not. This behaviour can be disabled via a CHIP.INI entry.

What is a batch file?

A batch file is a plain-text file listing a batch of RTOS shell commands that will be executed by the command shell. The shell commands must have the same format as if they were put in on the shell prompt, e.g. you can omit the file extension .EXE when calling executable programs.

Each line of the batch file may contain one command. The commands will be processed line-by-line in the given order. Depending on the batchmode, the shell will wait with the execution of the next line until the previous command has finished or has allowed further batch processing. The batchmode can be modified using a CHIP.INI entry or with the corresponding shell command.

By definition batch files have the file extension .BAT. This is needed for the command shell to identify a file as a batch file. Besides the AUTOEXEC.BAT there can be many other batch files on your IPC@CHIP® that you can call by hand. This is especially useful to create shortcuts for commands which need a lot of arguments.

Top of page | Main page

Copyright © 2020 Beck IPC GmbH
Generated on Thu Mar 19 2020 11:08:05 by Doxygen 1.8.13