代码如下:
<html>
<!--
'********************************************************************
'*
'*File:Scriptomatic.hta
'*Author:TheScriptingGuys,MicrosoftCorporation
'*Created:August2002
'*Modified:July2003(1.0->1.1->2.0)
'*March2004
'*Version:2.0
'*
'*Description:ScriptomaticisaWMIScriptinglearningtool
'*thatcreatesexampleWMIscripts--inVBScript,
'*JScript,orPerl--thatretrieveinstancesof
'*WMImanagedresourcesthataredescribedby
'*dynamicclassesintheWMIschema(alsoknownas
'*theCommonInformationModelorCIM).
'*
'*Dependencies:Therearetwo(thatwe'reawareofanyway):
'*1.YoumustrunScriptomaticonaWMI-enabled
'*computer.AnyWindowsoperatingsystemthathas
'*thenumber2000orhigherinitsname,orXP,
'*isasafebet.
'*2.Andtosuccessfullyrunthescriptsgenerated
'*withScriptomatic,well,youmustbe