We have a batch file that we want to deploy / run via a custom action. Is there a way to prevent a DOS window from popping up on the screen. I can redirect the output of the batch file to the end user doesn’t see what’s happening, however am unable to hide the DOS window. We’re currently using BES 5.1.
Alot of the times when you use dos commands or batch files if you redirect the output to null you can keep the windows from showing up. This does not work for all programs. Such as doing a net stop or net start will still open up a dos prompt.
Have you tried using waitdetached? I’ve tested it a bit this morning and it seems to keep the DOS window from popping up. Of course I don’t know what your batch file is trying to do specifically, and that can cause different behaviour.