Scripting IIS: Change Web Root
I recently had a need to be able to set the IIS web root from ColdFusion. This is for development on a local machine (where IIS can have only one web root). To do this, I took advantage of the load_iis.bat that my friend Jason Holden created.
an interesting approach. However being limited to a CF based solution may not be the best. While it isn't scriptable, IISAdmin (http://www.firstserved.net/help/downloads) works very well, allowing you to define and switch sites on the fly. What's better is that its free.
Unfortunately the site is in dutch, but here's the link to the google translation:
http://tinyurl.com/6avxme
regards,
larry
Thanks for the comment.
Note, however, the first sentence of the entry "I recently had a need to be able to set the IIS web root from ColdFusion.". I'm aware it could be done other ways, but I needed to do so from ColdFusion and thought someone else might have that need as well.
Still, thanks for pointing to other resources as those might be helpful to someone else.