Hi Vitaly,

You can manipulate the IIS metabase by invoking a VBScript with
CFExecute, a la:

<cfexecute name="C:\WINNT\system32\cscript.exe"
arguments="C:\InetPub\AdminScripts\Circa3000\mkwebdir.vbs -c ""#Arg1#""
-w ""#Arg2#"" -v ""#Arg3#"",""#Arg4#"""
timeout="30">
</cfexecute>

For more help, check out the VBScript samples included with IIS.

I hope this is helpful.

Dave

--

David M. Delbridge
Circa 3000
ColdFusion Hosting
http://www.circa3k.com
775-832-2445

Vitaly Mankevich wrote:
>
> Hi all,
>
> Is there any way I can manipulate (create, delete etc) an IIS virtual
> directory? If not, any ideas on how the following could be
> implemented:
>
> There's a site, say http://www.somepromosite.com
>
> An "agent" can sign up creating "their own site"
> (http://www.somepromosite.com/username), which actually is the same
> site. The only effect needed is the "/username" in the URL.
>
> I figured virtual directories mapped to root is the way to go, but how
>
> can I manipulate them in CF?
>
> Any ideas will be much appreciated.
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to