Change port


Applies To: Windows Server 2008,Windows Vista

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

For examples of how to use this command, see Examples.

Syntax


Copy Code

change port [<PortX>=<PortY> | /d <PortX> | /query]

Parameters

Parameter

Description

<PortX>=<PortY>

Maps COM <PortX> to <PortY>.

/d <PortX>

Deletes the mapping for COM <PortX>.

/query

Displays the current port mappings.

/?

Displays help at the command prompt.

Remarks

Examples


Copy Code

change port com12=com1


Copy Code

change port /query

Additional references

Command-Line Syntax Key

Change

Terminal Services Command Reference