How can I set user name and password in BATCH File??
Kindly Help
Can you explain more? please
NET USE <Network Drive> /USER:<Username> <Password>
The user name and password for what? For a user defined in Section Access? That cannot be set in a batch script. Well, perhaps you could use something like AutoIT or AutoHotKey to pass key strokes. Otherwise you'll need to enter the account information interactively or use Qlikview Server to reload your document.
I have implemented the section access in my application , now I have created Batch File , and I m running the application thru Task Manager which is running successfully but @ every reload it asking for credential , that's why I want to set credential in batch file.
I have implemented the section access in my application , now I have created Batch File , and I m running the application thru Task Manager which is running successfully but @ every reload it asking for credential , that's why I want to set credential in batch file.
I have implemented the section access in my application , now I have created Batch File , and I m running the application thru Task Manager which is running successfully but @ every reload it asking for credential , that's why I want to set credential in batch file
Hi Abhay
Please see below URl i hope it i will help you.
For this you could use vbs internal from a qvw or external as batch:
set App = ActiveDocument.GetApplication
set newdoc = App.OpenDocEx "C:\MyDocuments\Budget.qvw",2,false,"jnn","123456","",false
newdoc.DoReload 2,false,false
You could find more informations about the OpenDocEx parameter and reload in APIGuide.qvw in your install-folder.
- Marcus