Title: Run process for .cmd files
**
Hi Radhika,
 
Run Process don't like environment variables, such as PATH.  Try the following:
"C:\Windows\System32\cmd.exe /c [insert path to EIG.cmd]\EIG.cmd $1$"
If you're testing from a command line, a good way to test these to execute them with the PATH variable cleared, from a directory not containing either the command interpreter, the script, or any input or output files the script may use.
 
Eric Cleereman
-----Original Message-----
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED]On Behalf Of Narayanan, Radhika
Sent: Friday, September 08, 2006 12:58 PM
To: [email protected]
Subject: Run process for .cmd files

**

Hi,

I'm trying to run a .cmd file from the Run Process of a filter. The following is the command line in the Run process command.

cmd /c start EIG.cmd $1$

But it is not executing. Could you please tell me what is the correct syntax ?

The file EIG.cmd is present in a path that is added to the PATH environment variable. I've also tried the path explicitly like cmd /c start C:\Program Files\EIG.cmd $1$

It doesn't work either.

The file EIG.cmd itself is correctl When I manually open a command prompt window and execute the same file, it works correctly. It just doesn't open

from within a filter !

Thanks
Radhika
Direct : +44 20718 20262
Extn : 20262



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

__20060125_______________________This posting was submitted with HTML in it___
__20060125_______________________This posting was submitted with HTML in it___

Reply via email to