Command Line Interface
Use SPMCmd.exe console program to map serial ports via command line interface.
Command line SPMCmd.exe file is created during the program install. You can find it within Serial Port Mapper 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 Mapper\ftspmcli.exe Serial Port Mapper console utility Copyright © 2000-2024 FabulaTech Usage: ftspmcli.exe command [option] Syntax: /l or /list List mapped/swapped serial ports. /la List all available serial ports. /m or /map <mapped COM port> <available COM port> Add mapped serial port with specified number. /s or /swap <COM port> <COM port> Swap COM ports with specified numbers. /r or /remove <COM port> Remove mapped/swapped serial port with specified number. /ra Remove all mapped/swapped serial ports. /? or /help Show this help.
Command Line Usage Examples:
Map COM5 to physical COM1
SPMCmd.exe /m 5 1
Remove mapped COM5 port
SPMCmd.exe /r 5
Remove all mapped/swapped serial ports
SPMCmd.exe /ra