code:
If @inwin=2
$RC=WriteValue("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP","Workgroup","NewWorkGroupName","REG_SZ")
Endif

then you probably want to find a Win9x shutdown utility and call it.
_________________________
Home page: http://www.kixhelp.com/hb/