iis6+javascript Add an Extension File

时间:2007-06-13    点击:181   
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
Add a Picture to a Microsoft Word Document
Add a Formatted Table to a Word Document
jscript之List Excel Color Values
jscript之Read an Excel Spreadsheet
jscript之Open an Excel Spreadsheet
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved