Command Line Utility
Use vspkcmd.exe console program to configure virtual serial ports via command line interface.
You can find vspkcmd.exe program within Virtual Serial Port Kit 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\Virtual Serial Port Kit\VSPKCmd.exe Virtual Serial Port Kit console utility Copyright © 2000-2024 FabulaTech Usage: VSPKCmd.exe command [option] Syntax: list List all serial ports. list [phisycal|pairs] [/info] List physical or virtual serial ports with detailed information. add <COM port> <COM port> [/pinout full|partial1|partial2|loopback] [/dcd 1|0] [/ring 1|0] [/bitrate 1|0] Add virtual serial ports pair, where: /pinout - null-modem pinout type; /dcd - DTR to DCD emulation; /ring - DTR to RI emulation; /bitrate - bitrate emulation. remove <COM port> <COM port> Remove virtual serial port pair with specified COM ports. removeall Remove all virtual ports. enable Enable all virtual ports. disable Disable all virtual ports. help|/? Show this help.
Command line usage examples:
Add COM3 to COM4 virtual port pair:
vspkcmd.exe add 3 4
Remove COM3 to COM4 virtual port pair:
vspkcmd.exe remove 3 4
Remove all.
vspkcmd.exe removeall
Add COM5 virtual loopback plug:
vspkcmd.exe add 5 5 /pinout loopback