Configuring via Command Line Interface
Use SPSCmd.exe console program to map serial ports via command line interface.
Command line SPSCmd.exe file is created during the program install. You can find it within Serial Port Splitter program folder.
Command Line Keys
Key | Description |
---|---|
split <physical COM-port> <virtual COM-port> | Adds new virtual serial port to split configuration |
readwrite <physical COM-port> <on|off> | Read for all. Write to the first opened port (for split configuration) |
signalpriority <physical COM-port> <0|virtual COM-port> | Set priority signal control port (for split configuration) |
rmsplitv <virtual COM-port> | Removes virtual serial port from split configuration |
rmsplitp <physical COM-port> | Removes physical serial port from split configuration |
share <physical COM-port> | Shares physical port |
unshare <physical COM-port> | Removes sharing for serial port |
join <virtual COM-port> <physical COM-port> | Adds new physical serial port to virtual serial port |
rmjoinv <virtual COM-port> | Removes virtual serial port from joined configuration |
rmjoinp <physical COM-port> | Removes physical serial port from joined configuration |
removeall | Removes all virtual serial ports and unshare all physical ports |
list [physical|split|share|join] | Lists all ports |
enable | Enable all ports |
disable | Disable all ports |
help | Show this help |
Command Line Usage Examples:
Key | Description |
---|---|
SPSCmd.exe split 1 5 SPSCmd.exe split 1 6 |
Split physical COM1 to virtual COM5 and COM6 |
SPSCmd.exe share 1 | Share physical COM1 |
SPSCmd.exe join 5 1 SPSCmd.exe join 5 2 |
Join physical COM1 and physical COM2 to virtual COM5 |
SPSCmd.exe removeall | Remove all |