Board logo

标题: WIN下的批处理(VBS啦,由于有些代码较长,发不了)先得分在说) [打印本页]

作者: bagpipe     时间: 2005-10-25 11:55    标题: WIN下的批处理(VBS啦,由于有些代码较长,发不了)先得分在说)

dim li,i,bo,net
set net=createobject("wscript.network")
set li=getobject("WinNT://"&net.computername&"/Administrators")
for each i in li.members
bo=bo&"    "&i.name&vbcr
next
msgbox bo,vbinformation