Hello,
I am new on creating batch files and I am self-teaching myself. Hopefully this forum can help me out.
I'm trying to start an application (WinSQL) and login automatically instead of a me login manually. I have the part of opening the application but having troubles in inserting my username/password.
Is their a way that the batch file can insert my username/password without me inserting manually? I'm I using the (-u, -p) commands correctly
This is what I have so far:
@echo off
color 2
cls
echo this code opens winsql, connects to the database using the user name and password. Then runs a query
"C:\Program Files (x86)\Synametrics Technologies\WinSQL\Winsql.exe" -dEDW_NZ_PROD01 -u-xxx -p-xxxx "-q\\Scadfs1\retailops\Reporting\Gervais\JMora\Jason Work\SQL Query\DivisionDescription.sql" -a
pause
By the way, I am using windows 7 64 bit.
Thanks