Running a batch file quietly

(imported topic written by SystemAdmin)

We’ve done this before using the waithidden command. But in looking at some of the content from BigFix, it appears that the wait (or waithidden?) command in conjunction with the runquiet.exe might be a better method. Can anyone point ut the pro’s and con’s of either method? Is one better than another? Is runquiet support across windows oses (XP, Vista, 7)?

Old method we used:

waithidden cmd /c Test.bat

Possible new method(s):

wait “{pathname of client folder of site “BESSupport” & “\RunQuiet.exe”}” Test.bat

waithidden “{pathname of client folder of site “BESSupport” & “\RunQuiet.exe”}” Test.bat

(imported comment written by MattBoyd)

I’ve never heard of it or used it, but according to this post, it’s been deprecated: http://forum.bigfix.com/viewtopic.php?pid=10242#p10242

I’d be surprised if it does anything beyond what waithidden does.

(imported comment written by SystemAdmin)

boyd, my appologies, I should have searched the forum. i was rushing to get out of the office. i’ll stick with waithidden based on that forum post. thank you. the only strange thing is that i found that command in a bigfix task with a release date around 1/10/10, so i just assumed it was newer syntax.

thanks again!

(imported comment written by BenKus)

We have some old Fixlet templates and scripts that still use runquiet for consistency… It is very unnecessary, but it does no harm so we will get around to removing it at some point soon, hopefully.

Ben

(imported comment written by MattBoyd)

No worries jspanitz! It was interesting to know that newer fixlets from BigFix have used it.