Manjari,

I am running a macro via an escalation but my command syntax is a little 
different from yours.  First off, I don't use the -h (home directory), instead 
I'm using the -d (macro directory).  Also, I have the directory enclosed in 
double quotes.  And, the path I'm using definitely doesn't have any security on 
it.  All Users shouldn't, but you never know.  I'm using C:\Program Files\AR 
System\Macros (on the server, of course).

Another difference is that I'm using the -e to provide the name of the macro as 
opposed to the -i, not sure how they differ.  Manual doesn't explain, so it's 
probably nothing.

Good luck and hope something here might help.

Curt

Curt A. Schryver
Action Request System Administrator
Tyco Electronics
100 AMP Drive
MS 161-043
Harrisburg, PA 17105
717-810-2109 tel
717-810-2124 fax
cschry...@tycoelectronics.com



From: Shrestha, Manjari R. <manjari.r.shres...@saic.com>
Subject: Need Help with syntax for Runmacro from escalation, works from dos cmd
To: arslist@ARSLIST.ORG
Date: Thursday, February 5, 2009, 4:40 PM

**
Hi,

I am able to run the following command from cmd prompt:

"C:\Program Files\AR System\runmacro.exe"  -h C:\Documents and Settings\All 
Users\Application Data\AR System\home\arcmds -i Reporting -x MyServer  -U 
username -P password

However when I try the same syntax from an escalation through Run Process, it 
does not work. I am using the following syntax in RUN PROCESS:

"C:\Program Files\AR System\runmacro.exe"  -h C:\Documents and Settings\All 
Users\Application Data\AR System\home\arcmds -i Reporting  -x MyServer  -U 
username -P password


Thanks in advance.
Manjari R. Shrestha
Programmer Analyst

SAIC
12530 Parklawn Drive, Suite 350
Rockville, MD 20852
Office: (301) 998-7364
ranj...@saic.com


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to