Problem in Invoking a exe file from bigfix server

(imported topic written by CH73_Shunmuga_Sundaram)

Dear All,

I have a problem in invoking a exe file in the client system from the bigfix server.

I have a application.exe in c:\Program files\MyCompany\AppName\folder. This exe need a config.txt file to run. When i double click the exe in from the client system the application is working well. But when i invoke this client systems exe from the bigfix server, the application throws a error messge “The config.txt is not found”.

When we run a dos command from the server, what will be the folder of the exe? Will the BESClient invoke the exe from c:\Program files\MyCompany\AppName\folder or c:\windows\system32 folder or BESClient’s folder?

Thanks in Advance

Sundaram. D

(imported comment written by BenKus)

Hi sundaram,

The current working directory of a process run by the BigFix is “__BESData<fixlet site>”. For instance, “C:\program files\bigfix enterprise\bes client__besdata\actionsite”.

Ben

(imported comment written by CH73_Shunmuga_Sundaram)

Dear Ben,

Thanks for your reply.

Then how do i change my current working directory? i need to invoke this exe for more than 1000 systems from the bigfix server ? what is the solution for this issue?

Thanks & Regards

Sundaram.

(imported comment written by BenKus)

Try this:

createfile until __END
C:
cd "c:\Program files\MyCompany\AppName\folder"
test.exe
__END
copy __Createfile run.bat

waithidden run.bat

Ben