I am trying to run Toad Code Analysis through command line with parameter ini file and I am storing results in DB ( TOAD schema ) . I did this manually in Code analysis window, it works perfectly and I created parameter file from that.
Now when I run this from command line with Ini file, Toad schema login window popup with id/pwd details filled up. I just need to hit ‘enter’ and then it proceeds.
Why Toad Schema login window popups? Ini file has the login details already. how do I automate this if want to run from command line??
I am running like below:
“C:\Program Files\Quest Software\Toad for Oracle 12.5\Toad.exe” -a “Code Analysis1 | C:\Code_Analysis\App1.ini”
my INI file
[72]
Name=Code Analysis1
Type=Code Analysis
ConnectionCount=1
Connection_1=TOAD@DB
[OPTIONS]
RULESET=C:\Users\XYZ\AppData\Roaming\Quest Software\Toad for Oracle\12.5\RuleSets\UserDefined_TEST Rules.rst
RSET=TEST Rules
OUTPUTDIR=C:\Code_Analysis\Output
HTMLFILENAME=CodeAnalysis.html
XMLFILENAME=CodeAnalysis.xml
METRICHISTORYFILENAME=.xls
METRICHISTORYHTMLFILENAME=.xls
XLSFILENAME=CodeAnalysis.xls
CODEXPERT_SCAN=1
SQL_SCAN=0
PASSWORDS_ENCRYPTED=1
INCLUDE_HTML=1
INCLUDE_XML=1
INCLUDE_XLS=1
INCLUDE_SERVERSIDE_INSERT=1
INCLUDE_METRICS_HISTORY=0
INCLUDE_METRICS_HISTORY_HTML=0
SEND_EMAIL=0
CLEAR_ERROR_LOG=1
SERVERSIDE_INSERT_RUNNAME=AUTOGENERATE
[FILES]
FILE1=C:\Objects\Procedures*
[CONNECTIONS]
LOGIN1=TOAD@DB
[PASSWORDS]
PASSWORD1=e9999999999g==
Appreciate your help…