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.

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