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"