Changing the OS/2 2.0 AUTOEXEC.BAT File for a DOS Session

The AUTOEXEC.BAT file is specific to the DOS session and has no effect on the OS/2 operating system. This file contains DOS system commands that run when a DOS session is started. The AUTOEXEC.BAT file starts memory resident programs, such as network programs, and sets up environment variables.

To make as much base memory as possible available to applications, remove any unnecessary commands from the AUTOEXEC.BAT file. Include commands in the AUTOEXEC.BAT file to customize a specific DOS session.

Any changes made to this file affect all DOS and WIN-OS/2 sessions, because all sessions that run DOS emulation (including WIN-OS/2 sessions) share the same AUTOEXEC.BAT file.

NOTE:
Do not allow the installation of a DOS or Windows application to change the AUTOEXEC.BAT file supplied with OS/2 2.0. If a DOS command is necessary for a specific DOS application, consider calling a batch file after the DOS session is started.