Configuring via Command Line Interface

Use SPRCmd.exe console program to map serial ports via command line interface.

Note: Command line SPRCmd.exe file is created during the program install. You can find it within Serial Port Redirector program folder.

Command Line Keys

Key Description
set raw|rfc2217 <COM-port> <host name> <TCP-port> Add virtual serial port
remove <COM-port> Remove virtual serial port
removeall Remove all virtual ports
list [physical|virtual] Lists serial ports
enable Enable all virtual ports
disable Disable all virtual ports
help Show this help

Command Line Usage Examples:

Key Description
SPRCmd.exe set rfc2217 5 192.168.10.1 2000 Create virtual COM5 redirected to remote IP address 192.168.10.1, TCP-port 2000. RFC2217 protocol is used for data transfer.
SPRCmd.exe remove 5 Remove virtual COM5