Shell function and Start in Location

Folks,Need your help.

Through a Lotusscript function, I try to execute an exe file.

res = shell(“c\abc\def.exe”).

This exe file has dependency on 2 other files under the same folder. This exe file works only when it is triggred from the folder “abc”. If I run it from other locations/folder it will not run. When i execute the above shell function, the exe file is not getting executed. Is there a way, where I can specifiy the start in location or the folder from where this exe file should be executed?

Any help is much appreciated.

Thanks

Thiyagarajan

Subject: Shell function and Start in Location

Try creating a BAT file instead that containsthe CD (change directory) to the desired location followed by the executable on the next line.