If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Batch File to connect to cognos

Started by ik2710, 18 Oct 2012 11:22:28 AM

Previous topic - Next topic

ik2710

I want to run a batch file to connect to cognos.

I am using the following link:

http://localhost:9400/p2pd/servlet/dispatch?b_action=xts.run&m=portal/main.xts&CAMUsername=XYZ&CAMPassword=****&h_CAM_action=logonAs

When I run this link in the browser it works. However when i run it in command prompt or in a batch file using "START" command, it opens the cognos window and prompts me to enter my credentials again.

Can anyone please help me with this.

Thanks!

tjohnson3050

Try using using 'runas'

  Run mycommand.exe as the user Jdoe on domain SS64dom

  Runas /user:SS64Dom\jDoe "mycommand.exe"