Create an Application in a Web Directory

Create an Application in a Web Directory

Description

Creates a Web application in the W3SVC/2142295254/root/aspnet_client_folder directory.

Supported Platforms

Windows Server 2003 Yes
Windows XP Yes
Windows 2000 Yes
Windows NT 4.0 No
Windows 98 No

Script Code

strComputer = "LocalHost"
Set objIIS = GetObject _
    ("IIS://" & strComputer & "/W3SVC/2142295254/root/aspnet_client_folder")

objIIS.AppCreate(False)

发表评论