Using the command line mode

Use the command line to create, delete, and populate VTS tables. Open a command window from the folder that contains the vtscmd.js file (%ProgramFiles%\Micro Focus\VTS\web) and type a command with the following syntax: node vtscmd <command> <parameter>. For example to access the help, type node vtscmd /help.

Note: In the VTS installation folder (%ProgramFiles%\Micro Focus\VTS\web\samples) sample command files are provide. One launches new instances and imports data(InitVTSInstances.bat) and the other stops all running instances (StopAllInstances.bat).

The following table describes the available commands:

Command Parameters Description Example
  When requestClientCert=true in configure.json, specify the certificate and key for server verification. Node vtscmd /start /port 2000 /name Employees /cert “clientCert.cer” /key “clientCert.key”
/delete_data /port Delete all data stored in a VTS table node vtscmd /delete_data /port 2000
  When authentication=NTLM in configure.json, use these to specify the credentials for NTLM authentication. Node vtscmd /start /port 2000 /name Employees /domain Domain /username User /password Pass
/help or /?   List all VTS commands and parameters node vtscmd /help



/delimiter (optional)

Import a local .csv file to the VTS node vtscmd /import sample/customers.csv /port 2000
/list   List all the running VTS instances node vtscmd /list



Start an instance of the VTS node vtscmd /start /port 2000 /name Employees
/stop /port or /name Stop a VTS instance node vtscmd /stop /name Employees or node vtscmd /stop /port 2000
/stop_all   Stop all VTS instances node vtscmd /stop_all

Back to top