We have an offline log collector provided by a 3rd party. When you run the EXE, it collects logs and places them in the same folder as the EXE.
My BigFix tasks first copies the EXE to “C\Temp” and then run the EXE. The issue is that the logs being generated are being placed in my opsite under __BESData.
If there isn’t a way to have it run in the context of the directory, is there a way to copy the output file to the Temp directory? The output file is always the same name.
There are at least two ways to try. One is to wrap the execution into a small batch file. Change into whatever the desired directory before executing the collector.
Another potential way would be to use the ‘start’ command with the /D path argument.