CmdID

CmdID / Commands / change

change port

Lists or changes the COM port mappings to be compatible with MS-DOS applications. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Lists or changes the COM port mappings to be compatible with MS-DOS applications. NOTE: To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.

change port [<portX>=<portY>| /d <portX> | /query]

To map COM12 to COM1 for use by an MS-DOS-based application, type

change port com12=com1Identify

To display the current port mappings, type

change port /queryIdentify
/queryDisplays the current port mappings. Windows commands reference
<portX>=<portY>Maps COM <portX> to <portY>
/d <portX>Deletes the mapping for COM <portX>
/queryDisplays the current port mappings.
/?Displays help at the command prompt.