yet better debug version (with wsh version and all [Wink] )
	$oExec = CreateObject("WScript.Shell")
if @error "WScript.Shell error: " @error get $ exit 0 endif
createobject("wscript").Version ?
$oExec = $oExec.Exec($ShellCMD)
if @error "WScript.Shell Exec error: " @error get $ exit 0 endif
While Not $oExec.Status Loop

updated code, it sucked.

[ 10. October 2003, 04:07: Message edited by: Lonkero ]
_________________________
!

download KiXnet