Change port command in Windows
The change port command lists or changes COM port mapping for compatibility with MS-DOS applications.
- Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012.
The change port command lists or changes COM port mapping for compatibility with MS-DOS applications. To learn examples of how to use this command, please see the Example below.
Note
In Windows Server 2008 R2, Terminal Services has been renamed to Remote Desktop Services.
Syntax command change port
change port [= | / d | / query]
Parameters
Parameter Description = Map COM to. / d Delete mapping for COM < PortX >. / query Displays the current port mapping. /? Show help at the command prompt.Note
- Most MS-DOS applications only support COM1 via COM4 serial port. The change port command maps the serial port to a number of other ports, allowing applications that do not support the high-numbered COM port to access the serial port. The remapping only works for the current session and cannot be retained if you log out of the session and then log in again.
- Using the change port command without any parameters will show the available COM ports and their current mapping.
For example
To map COM12 to COM1 for use by an MS-DOS-based application, enter:
change port com12 = com1
To display the current port mapping, enter:
change port / query
See more:
- Change command in Windows
- Cd command in Windows
- Change logon command in Windows
3.9 ★ | 22 Vote
You should read it
- How to change LPT port in CMOS
- Change command in Windows
- How to change RDP port on Windows 11
- Instructions to change the Remote Desktop port
- How to convert WAN port to LAN on router
- What is port 0 used for?
- Change logon command in Windows
- How to Add or Change the Default Port on Linux
- Instructions to change Port value on router
- Command mode in Windows
- What is AAA PC Port? Why do they have so many problems?
- The command changes user in Windows
Maybe you are interested
How to download Google Photos to your computer, export Google Photos library
7 Most Important Specifications to Check Before Buying a Smart TV
If you have an AMD CPU, install this important security update!
AMD Ryzen Master stops supporting Threadripper and Ryzen 1st and 2nd generation CPUs, users take note!
AMD Sets Launch Date for Next-Generation Portable Gaming PC Chip: Z2 Extreme
Mozilla considers extending Firefox support on older operating system versions until March 2025