cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mgaredia
Level 4

How to I change directory before calling action executing process

I am trying to do like this:

cd c:\tmp\xx
c:\tmp\xx\bin\yy.exe

But wizard action says it actually does "cd" to c:\tmp\xx\bin before running yy.exe which I dont want. How do I go to particular directory before I call yy.exe because yy.exe expects call from certain directory only and does this relatively.


Thanks,
Manish
Labels (1)
0 Kudos
(2) Replies
enanrum
Level 9

I guess you could execute the command in java with a Custom Action!
0 Kudos
mgaredia
Level 4

I got around the problem by writing a batch file which expects directory as an argument and then using execute process action to call that batch file and do how the heck I want to do.
0 Kudos