App Support.

We're here to help.



Controlling Viscosity from Command Line (Windows)

Viscosity allows for basic control of Connections from command line, allowing for connections to be connected or disconnected. The following commands will work regardless of whether Viscosity is already running.

The following example assumes Viscosity has been installed to the default location:

Connect a Connection by Name

"C:\Program Files\Viscosity\Viscosity.exe" connect "My Connection"

Disconnect a Connection by Name

"C:\Program Files\Viscosity\Viscosity.exe" disconnect "My Connection"

Disconnect All Connections

"C:\Program Files\Viscosity\Viscosity.exe" disconnect all