SoftGrid scripting: hiding the DOS box

1. Create HideDos.vbs:

CreateObject("WScript.Shell").Run WScript.Arguments(0), 0, False
WScript.Sleep 242 ‘wait for files to copy

2. Add code to your .OSD file (in the DEPENDENCY tag)

<SCRIPT EVENT="LAUNCH" TIMING="PRE" PROTECT="FALSE" WAIT="TRUE" TIMEOUT="">
<HREF>wscript "\\server\sft_contentshare\appname.ext\HideDOS.vbs" "\\server\path\blah\batchfile.cmd"</HREF>
</SCRIPT>

source: http://timjacobs.blogspot.com/2007/10/softgrid-scripting-hiding-dos-box.html