Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-17 Thread Lyle Taylor

Try putting quotes around all arguments that have spaces in them.  Otherwise it 
will treat those arguments as multiple separate arguments rather than one 
argument with a  space in it:

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

Lyle

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Shrestha, Manjari R.
Sent: Thursday, February 05, 2009 9:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from dos cmd

**
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.commailto:ranj...@saic.com


__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are html___


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.



___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
inline: image001.jpg

Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-06 Thread Schryver, Curt
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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-06 Thread Shrestha, Manjari R.
Thank you all for replying. From the escalation log I see that the
escalation is running but it is not creating the output files, I am
thinking that this might be something to do with permissions, as the
user that will be writing the file looks like AR_ESCALATER, and that
user will not have in our Network. I am thinking I will need to create
the Output file within a folder where Remedy will have permission to
write.

 
Thanks!
 
Manjari R. Shrestha
Programmer Analyst 
 
SAIC
12530 Parklawn Drive, Suite 350
Rockville, MD 20852
Office: (301) 998-7364
ranj...@saic.com
  

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Ron Gehring
Sent: Thursday, February 05, 2009 3:13 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Here's something to try, put cmd /c before the statement like so:

cmd /c 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

Ron Gehring

-Original Message-
From: Mark Lev [mailto:mark@rightstarsystems.com] 
Sent: Thursday, February 05, 2009 2:58 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from
dos cmd

Without the aid of error message, I would suggest a few trial and error
experiments, if you will.
 
What about changing the path names in the escalation to the windows
short
names.  (DIR /X will give you short name in cmd window)
 
Program Files  -- progra~1 for example.  Perhaps it's a translation
error
in the CMD process.
 
Mark



From: Action Request System discussion list(ARSList) on behalf of
Shrestha,
Manjari R.
Sent: Thu 2/5/2009 2:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from
dos cmd



Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command
from the prompt successfully but when I use this in escalation it does
not do anything, there is no error messages either. Yikes!


Thanks!

Manjari R. Shrestha
Programmer Analyst

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

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:

You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.

Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell)
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of
Shrestha, Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from
dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg

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

 



__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___


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



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





___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: Where

Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-06 Thread LJ Longwing
AR_ESCALATOR is the user within Remedy, but the filesystem permissions you
need are the ones that Remedy is running as on your box, so if your Remedy
is running as 'Local System', you can change it to an actual user and have
that user have permissions to a network location. 

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Shrestha, Manjari R.
Sent: Friday, February 06, 2009 8:11 AM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd

Thank you all for replying. From the escalation log I see that the
escalation is running but it is not creating the output files, I am thinking
that this might be something to do with permissions, as the user that will
be writing the file looks like AR_ESCALATER, and that user will not have in
our Network. I am thinking I will need to create the Output file within a
folder where Remedy will have permission to write.

 
Thanks!
 
Manjari R. Shrestha
Programmer Analyst 
 
SAIC
12530 Parklawn Drive, Suite 350
Rockville, MD 20852
Office: (301) 998-7364
ranj...@saic.com
  

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Ron Gehring
Sent: Thursday, February 05, 2009 3:13 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd

Here's something to try, put cmd /c before the statement like so:

cmd /c 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

Ron Gehring

-Original Message-
From: Mark Lev [mailto:mark@rightstarsystems.com]
Sent: Thursday, February 05, 2009 2:58 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd

Without the aid of error message, I would suggest a few trial and error
experiments, if you will.
 
What about changing the path names in the escalation to the windows short
names.  (DIR /X will give you short name in cmd window)
 
Program Files  -- progra~1 for example.  Perhaps it's a translation error
in the CMD process.
 
Mark



From: Action Request System discussion list(ARSList) on behalf of Shrestha,
Manjari R.
Sent: Thu 2/5/2009 2:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd



Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command from
the prompt successfully but when I use this in escalation it does not do
anything, there is no error messages either. Yikes!


Thanks!

Manjari R. Shrestha
Programmer Analyst

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

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:

You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.

Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell)
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of Shrestha,
Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from dos
cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg

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

 



__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___

Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Shrestha, Manjari R.
  

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
image001.jpg

Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Mark Lev
Are you running the cmd line version on the server or desktop?  The escalation 
will run on server, so the C: in escalation is referring to server c: not local 
c:
 
You may need to move the macro to the server and adjust path accordingly where 
Remedy has permissions to.
 
Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell) 
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of Shrestha, 
Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from dos cmd


**  
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Drafts/image001.jpg
 

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

  

 

__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are html___ 

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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Joe DeSouza
**

I'm assuming the path is the same for all the users if you are using this in an Active Link?

Try using the 8.3 format in the DOS path

Joe



From: "Shrestha, Manjari R." manjari.r.shres...@saic.comTo: arslist@ARSLIST.ORGSent: Thursday, February 5, 2009 11:40:03 AMSubject: Need Help with syntax for Runmacro from escalation, works from dos cmd** 



 

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

  
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Shrestha, Manjari R.
Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command
from the prompt successfully but when I use this in escalation it does
not do anything, there is no error messages either. Yikes!

 
Thanks!
 
Manjari R. Shrestha
Programmer Analyst 
 
SAIC
12530 Parklawn Drive, Suite 350
Rockville, MD 20852
Office: (301) 998-7364
ranj...@saic.com
  

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:
 
You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.
 
Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell) 
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of
Shrestha, Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from
dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg 

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

  

 

__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___ 


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

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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Tanner, Doug
I do something similar, but I put it in a batch file (*.bat) and then my
escalation does a run process like this

E:\Batch\Vendors.bat

Doug

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Shrestha, Manjari R.
Sent: Thursday, February 05, 2009 2:32 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command
from the prompt successfully but when I use this in escalation it does
not do anything, there is no error messages either. Yikes!

 
Thanks!
 
Manjari R. Shrestha
Programmer Analyst 
 
SAIC
12530 Parklawn Drive, Suite 350
Rockville, MD 20852
Office: (301) 998-7364
ranj...@saic.com
  

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:
 
You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.
 
Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell) 
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of
Shrestha, Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from
dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg 

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

  

 

__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___ 


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


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


DISCLAIMER Important! This message is intended for the above named person(s) 
only and is CONFIDENTIAL AND PROPRIETARY. If you are not the intended recipient 
of this e-mail and have received it in error, please immediately notify the 
sender by return email and then delete it from your mailbox. This message may 
be protected by the attorney-client privilege and/or work product doctrine.  
Accessing, copying, disseminating or re-using any of the information contained 
in this e-mail by anyone other than the intended recipient is strictly 
prohibited. Finally, you should check this email and any attachments for the 
presence of viruses, as the sender accepts no liability for any damage caused 
by any virus transmitted by this email.  Thank you.

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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Mark Lev
Without the aid of error message, I would suggest a few trial and error 
experiments, if you will.
 
What about changing the path names in the escalation to the windows short 
names.  (DIR /X will give you short name in cmd window)
 
Program Files  -- progra~1 for example.  Perhaps it's a translation error in 
the CMD process.
 
Mark



From: Action Request System discussion list(ARSList) on behalf of Shrestha, 
Manjari R.
Sent: Thu 2/5/2009 2:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from dos 
cmd



Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command
from the prompt successfully but when I use this in escalation it does
not do anything, there is no error messages either. Yikes!


Thanks!

Manjari R. Shrestha
Programmer Analyst

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

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:

You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.

Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell)
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of
Shrestha, Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from
dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg

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

 



__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___


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

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



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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Ron Gehring
Here's something to try, put cmd /c before the statement like so:

cmd /c 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

Ron Gehring

-Original Message-
From: Mark Lev [mailto:mark@rightstarsystems.com] 
Sent: Thursday, February 05, 2009 2:58 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd

Without the aid of error message, I would suggest a few trial and error
experiments, if you will.
 
What about changing the path names in the escalation to the windows short
names.  (DIR /X will give you short name in cmd window)
 
Program Files  -- progra~1 for example.  Perhaps it's a translation error
in the CMD process.
 
Mark



From: Action Request System discussion list(ARSList) on behalf of Shrestha,
Manjari R.
Sent: Thu 2/5/2009 2:31 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from
dos cmd



Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation.
I copied the macro file to the server and I can again run the command
from the prompt successfully but when I use this in escalation it does
not do anything, there is no error messages either. Yikes!


Thanks!

Manjari R. Shrestha
Programmer Analyst

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

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works
from dos cmd

Are you running the cmd line version on the server or desktop?  The
escalation will run on server, so the C: in escalation is referring to
server c: not local c:

You may need to move the macro to the server and adjust path accordingly
where Remedy has permissions to.

Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell)
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of
Shrestha, Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from
dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Dr
afts/image001.jpg

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

 



__Platinum Sponsor: RMI Solutions ARSlist: Where the Answers Are
html___


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


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




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

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


Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Joe DeSouza
Did you try the path in a DOS 8.3 format?

Joe





From: Shrestha, Manjari R. manjari.r.shres...@saic.com
To: arslist@ARSLIST.ORG
Sent: Thursday, February 5, 2009 2:31:42 PM
Subject: Re: Need Help with syntax for Runmacro from escalation, works from dos 
cmd

Hello Mark and Joe,

Thanks for your reply. I am trying to run the macro from an escalation. I 
copied the macro file to the server and I can again run the command from the 
prompt successfully but when I use this in escalation it does not do anything, 
there is no error messages either. Yikes!


Thanks!

Manjari R. Shrestha
Programmer Analyst 

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

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Mark Lev
Sent: Thursday, February 05, 2009 12:06 PM
To: arslist@ARSLIST.ORG
Subject: Re: Need Help with syntax for Runmacro from escalation, works from dos 
cmd

Are you running the cmd line version on the server or desktop?  The escalation 
will run on server, so the C: in escalation is referring to server c: not local 
c:

You may need to move the macro to the server and adjust path accordingly where 
Remedy has permissions to.

Thanks,
Mark

Mark Lev
Sr. Systems Consultant
703-672-4390
732-859-5827 (cell) 
mark@rightstarsystems.com
---
RightStar Systems, Inc.
100 East Street SE, Suite 202
Vienna, VA 22180
USA
---



From: Action Request System discussion list(ARSList) on behalf of Shrestha, 
Manjari R.
Sent: Thu 2/5/2009 11:40 AM
To: arslist@ARSLIST.ORG
Subject: Need Help with syntax for Runmacro from escalation, works from dos cmd


**
https://owa.mailstreet2003.net/exchange/mark.levrightstarsystems.com/Drafts/image001.jpg
 

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
  

Re: Need Help with syntax for Runmacro from escalation, works from dos cmd

2009-02-05 Thread Shafqat Ayaz
**
Manjariit would be helpful if you state what the error message is, if any, or what the problem is.thanksshafqat ayaz--- On Thu, 2/5/09, Shrestha, Manjari R. manjari.r.shres...@saic.com wrote:From: Shrestha, Manjari R. manjari.r.shres...@saic.comSubject: Need Help with syntax for Runmacro from escalation, works from dos cmdTo: arslist@ARSLIST.ORGDate: 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 


 



  



 

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___





__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___