I'd like to create a batch file that logs in a user automatically, and runs a script. The batch file goes like this:
cd /d C:\Program Files\CommVault Systems\Galaxy\Base
qlogin -cs cvxxx-infbkup01 -u _cvadmin –p Password
qoperation execscript -sn GetClients.sql > c:\temp\F46BCClients.txt
When I run the script, I get the following error after the qlogin line:
qlogin: Error 0x103: Invalid Login/Password
When I remove the '-p Password' and get prompted for the password, the batch file runs successfully.
The batch file is run on the commserve. Any ideas/help would be appreciated.