Which. Windows Version?










"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Johnny Le
To: CF-Talk
Sent: Mon Feb 05 00:52:58 2007
Subject: Playing with inetpub\adminscripts\mkwebdir.vbs?

Has anyone used mkwebdir.vbs to create an IIS website or virtual directory
dynamically?  I am trying to use command line, but whatever I do, I get the
message below and it doesn't do anything.  I want to use cfexecute to create
websites and virtual directories on my site later.  If anyone knows how to
do it, please help.

C:\WINDOWS\system32>cscript c:\inetpub\adminscripts\mkwebdir.vbs mkwebdir -v
"myVirtualDir,C:\dev"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Usage: mkwebdir [--computer|-c COMPUTER1,COMPUTER2]
                <--website|-w WEBSITE1>
                <--virtualdir|-v NAME1,PATH1,NAME2,PATH2,...>
                [--help|-?]

Note, WEBSITE is the Web Site on which the directory will be created.
The name can be specified as one of the following, in the priority
specified:
 Server Number (i.e. 1, 2, 10, etc.)
 Server Description (i.e "My Server")
 Server Host name (i.e. "www.domain.com")
 IP Address (i.e., 127.0.0.1)

Example : mkwebdir -c LocalHost -w "Default Web Site"
           -v
"dir1","c:\inetpub\wwwroot\dir1","dir2","c:\inetpub\wwwroot\dir2"

          mkwebdir -c LocalHost -w 3

Thank you.

Johnny
           -v "dir1,c:\inetpub\wwwroot\dir1,dir2,c:\inetpub\wwwroot\dir2"



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268629
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to