Since the setting for the metabase are accessible through a command line,
I'm sure you can write a script to make the changes you desire. For
example: The following command line would return the path for the default
web site:
c:\inetpub\adminscripts>cscript adsutil.vbs get w3svc/1/root/path
Path : (STRING) "c:\inetpub\wwwroot"
Thank you for choosing Microsoft
Miriam Green
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
>> Stay informed about: Scripting IIS