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:268620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4