Skip to main content
Inspiring
April 30, 2008
Question

How to create an IIS virtual directory programmatically?

  • April 30, 2008
  • 1 reply
  • 375 views
All-

Is it possible to create an IIS virtual directory programmatically using Coldfusion? Is there some set of server objects that could be tapped into using COM, for example?

Any guidance would be appreciated. Thanks.

-Josh
This topic has been closed for replies.

1 reply

Participating Frequently
May 1, 2008
You should be able to do this (as well as all other administrative tasks) using CFEXECUTE, Windows Scripting Host, and IIS management object. Read IIS documentation. It contains tons of ready-to-use scripts.