Page 1 of 1

Parameterize path of command for in execute command activity

Posted: Wed Aug 15, 2007 5:38 am
by opdas
Hi
We have a shell script which is executed after a job successfully completed. The script is executed through "Execute Command Activity". But the problem is we have to pass the full path of the script in the "Command:".
We want to parameterize the path of the script which would change when we go from development to production.
How to achieve this as parameterizing of the executable path is not allowed.

Posted: Wed Aug 15, 2007 6:29 am
by chulett
Try putting 'sh' or 'ksh' as the command and then your complete command with parameterized path in the Parameters area.

Posted: Wed Aug 15, 2007 6:39 am
by opdas
Hi,
Thanks for you reply.

It works like charm.

Posted: Wed Aug 15, 2007 6:40 am
by chulett
Great! Please mark your topic as Resolved then.