iis6+javascript Add an Extension File
更新时间:2007年06月13日 00:00:00 作者:
Description
Adds the BITS_Update.dll extension file.
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery _
("Select * From IIsWebService")
For Each objItem in colItems
objItem.AddExtensionFile _
"C:\WINDOWS\system32\bits_update.dll", False, _
"BITSEXT", True, "BITS Update"
Next
Adds the BITS_Update.dll extension file.
复制代码 代码如下:
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery _
("Select * From IIsWebService")
For Each objItem in colItems
objItem.AddExtensionFile _
"C:\WINDOWS\system32\bits_update.dll", False, _
"BITSEXT", True, "BITS Update"
Next
相关文章
js获得指定控件输入光标的坐标兼容IE,Chrome,火狐等多种主流浏览器
js获得指定控件光标的坐标,兼容IE,Chrome,火狐等多种主流浏览器,实现代码及调用代码如下,感兴趣的朋友可以参考下哈,希望对你有所帮助2013-05-05
最新评论