Use spmc.exe console program to map serial ports via command line interface.
Note: Command line spmc.exe file is created during the program install. You can find it within Serial Port Mapper program folder.
| Key | Description |
|---|---|
| /map <COM-port alias> <physical COM-port> | Map serial port |
| /remove <COM-port alias> | Remove mapping |
| /ra | Remove all |
| /list | List all mapped serial ports |
| /la | List all available physical serial ports |
| /help | Display this help |
| Key | Description |
|---|---|
| spmc.exe /map 5 1 | Map physical COM1 to COM5 |
| spmc.exe /remove 5 | Remove mapping (remove COM5 alias) |
| spmc.exe /ra | Remove all |