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 syntax cheat sheet
Notation | Example | Description |
---|---|---|
Text without brackets | command | Items which must be typed as shown. |
Text in square brackets | [optional] | Optional parameter. |
Text in angle brackets | <value> | Placeholder for user-provided values. |
Text in curly braces | { required =0|=1 } | Group of required choices. At least one option must be included. |
Pipe | option_1|option_2 | Divider between alternative options. Only one option can be selected. |
C:\Program Files\FabulaTech\Serial Port Splitter\SPSCmd.exe Serial Port Splitter console utility Copyright © 2000-2024 FabulaTech Usage: SPSCmd.exe command [option] Syntax: list List all serial ports. list physical|split|share|join List physical|split|share|join serial ports. split <physical COM port> <virtual COM port> Add new virtual serial port to split configuration. readwrite <physical COM port> on|off Configure split configuration to read from all ports and write to the first opened port. signalpriority <physical COM port> 0|<virtual COM port> Set priority signal control port in split configuration, where: 0 - first opened port has a signal priority. rmsplitv <virtual COM port> Remove virtual serial port from split configuration. rmsplitp <physical COM port> Remove physical serial port from split configuration. share <physical COM port> Share physical serial port. unshare <physical COM port> Remove sharing for physical serial port with specified COM port. join <virtual COM port> <physical COM port> Add new physical serial port to joined configuration. rmjoinv <virtual COM port> Remove virtual serial port from joined configuration. rmjoinp <physical COM port> Remove physical serial port from joined configuration. removeall Remove all virtual serial ports and unshare all physical ports. enable Enable all ports. disable Disable all ports. help|/? Show this help.
Command Line Usage Examples:
Split physical COM1 to virtual COM5 and COM6
SPSCmd.exe split 1 5
SPSCmd.exe split 1 6
Share physical COM1
SPSCmd.exe share 1
Join physical COM1 and physical COM2 to virtual COM5
SPSCmd.exe join 5 1
SPSCmd.exe join 5 2
Remove all
SPSCmd.exe removeall