Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-17-2009, 01:46 PM
DotNetBuddha DotNetBuddha is offline
Junior Member
 
Join Date: Aug 2009
Posts: 5
Default Pass variable to exe

Hello,

I was wondering if it is possible to pass a variable as a command line parameter to an .exe
Reply With Quote
  #2 (permalink)  
Old 08-18-2009, 04:39 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Yes, it is possible to pass parameter to an exe. It is available with Automation Anywhere Server 6.0.4.

Please find below the instructions to run exes with command line arguments.

Syntax: /AAServerMgr /var$variablename1$=variablevalue1;$variablename2$= variablevalue2

For e.g. "C:\Automation Exes\Verizon.exe" /AAServerMgr /var$usrnm$=automation;$passwd$=anywhere

In above example $usrnm$ & $passwd$ are value type variables.

Please note:

There is no space between this command-line argument and its value type variable as shown in example. The variables are separated by semi-colon (.

You will need to define these value type variables first in the task and then you can use them in the command line.

Hope that helps.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 03:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved