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.