Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Batch File

How can I set user name and password in BATCH File??

Kindly Help

9 Replies
ecolomer
Master II
Master II

Can you explain more? please

sujeetsingh
Master III
Master III

NET USE <Network Drive> /USER:<Username> <Password>

Gysbert_Wassenaar

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.


talk is cheap, supply exceeds demand
abhaysingh
Specialist II
Specialist II
Author

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.

abhaysingh
Specialist II
Specialist II
Author

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.

abhaysingh
Specialist II
Specialist II
Author

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

ashfaq_haseeb
Champion III
Champion III

Hi,

have a look at below post

http://community.qlik.com/message/157394#157394

Regards

ASHFAQ

Not applicable

Hi Abhay

Please see below URl i hope it i will help you.

http://community.qlik.com/message/157394#157394

marcus_sommer

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