check this: link
Icebob
2009-06-30 07:27:24
You can use WSH or VBS to do this, check this for details --> http://www.developersdex.com/gurus/articles/190.asp
To use IISVDIR.VBS you need to pass it as an argument to cscript.exe which also comes with Windows Server. The only example I have of its usage is to delete a virtual directory using the /delete switch, however I'm sure you can add in a similar way.