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.

[More]

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Greetings.
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
# Posted By Larry C. Lyons | 11/14/08 9:23 AM
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.
# Posted By Steve Bryant | 11/14/08 11:01 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.