You are currently offline, waiting for your internet to reconnect

Changing the Default COM Port and Baud Rate in Terminal

This article was previously published under Q85707
SUMMARY
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.
MORE INFORMATION
There are two methods to change the default COM port in subsequentTerminal sessions.

  1. 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:

    1. Port=None

      -or-
    2. Port=COM1

      -or-
    3. Port=COM2

      -or-
    4. Port=COM3

      -or-
    5. Port=COM4
  2. 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:
   [Terminal]   port=COM2:2400,N,8,1				
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.

KBCategory: kbsetup kbtool
KBSubcategory: win30 win31 wincomm
3.00 3.00a 3.0 3.0a 3.10 3.1 3.11
Properties

Article ID: 85707 - Last Review: 07/07/2005 00:42:00 - Revision: 2.1

  • Microsoft Windows 3.0 Standard Edition
  • Microsoft Windows 3.1 Standard Edition
  • Microsoft Windows 3.11 Standard Edition
  • KB85707
Feedback