You can use the command line to start Toad for IBM DB2 and automatically open a connection. You must first create a .tcs file that contains the connection information. Then you can use the command line to start Toad and call this .tcs file to provide the connection information and encrypted password.
To create a .tcs file containing connection information
To use the command line to start Toad with a connection open
Enter the following to start Toad and call the .tcs file you created in the previous procedure.
<Toad installation path>\toad.exe <.tcs file path>\MyConn.tcs
C:\Program Files (x86)\Quest Software\Toad for IBM DB2\toad.exe C:temp\MyConn.tcs