This article was previously published under Q85707
The first time Microsoft Windows Terminal (TERMINAL.EXE) is started itprompts you for the default port by displaying a Define Serial Port dialogbox. The port you select in the Define Serial Port dialog box will becomethe default port for all subsequent Terminal sessions. However, the defaultcommunication settings of Terminal (baud rate, parity, data bits, stopbits) are preset during setup. To change these default settings, modify theWIN.INI file.
There are two methods to change the default COM port in subsequentTerminal sessions.
Open the WIN.INI file in a text editor, such as Notepad, and search for the [Terminal] heading. There will be an entry such as Port=COM1. Change the existing entry to one of the following:
Optionally, after loading the WIN.INI file in Notepad, the [Terminal] heading and the entry below it can be deleted. The next time Terminal is started, it will prompt for a default port to use as if it were the first session of Terminal.
To change the default bit rate in the Terminal program packaged withWindows 3.0 and 3.1, add the desired settings description (baud,parity, data, stop bits) to the port= line in the [Terminal] sectionof the WIN.INI file.
For example, to default to 2400 bits per second (BPS) on COM2, thefollowing changes/additions need to be made to WIN.INI:
Settings in individual *.TRM files will still override the defaultcommunication settings.
In either of the above situations, Windows must be restarted for theWIN.INI file changes to take effect.