You can use ADSI and vbscript to do this:
John Cesta
<a style='text-decoration: underline;' href="http://www.cybersmarts.net" target="_blank">http://www.cybersmarts.net</a>
-------------------------------------------
ColdFusion Hosting Includes 10 Domains
100% Browser Based Administration
---------------------------------
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>
On 1 Oct 2003 14:08:12 -0700, kwendex.TakeThisOut@yahoo.com (Ben Rush) wrote:
>Hello,
>
>I'm a .NET developer and a reason has come up for us to
>programmatically enumerate the list of application mappings currently
>used on an instance of IIS - an instance meaning "this" machine.
>
>So, in other words, I would like to, say, return the same list of
>application mappings in a string array that you find in the Mappings
>tab of the Application Configuration dialog under "Web Site
>Properties".
>
>Does anyone know of such a technique? Even if there is a native API or
>COM call I can make I would love to know - thanks!
>
>Ben<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Programmatically list application mappings in IIS?