Create Virtual Web Directory (mkwebdir)

Summary:

Create a new virtual directory for a Web server.

Usage:

mkwebdir <--computer|-c COMPUTER1,COMPUTER2,...>
<--website|-w WEBSITE>
<--virtualdir|-v NAME1,PATH1,NAME2,PATH2,...>
[--help|-h]

Parameters:

COMPUTER1, COMPUTER2,... List of computers on which to create this virtual Web directory. This is to be used when configuring mulitple computers with the same settings. If no computer is specified, LocalHost is assumed.
WEBSITE 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 (for example, 1, 2, 10)
Server Description (My Server)
Server Host name (www.domain.com)
IP Address (172.16.0.0)
NAME1,PATH1,NAME2,PATH2 Names and paths for virtual directories to create.

Example:

Mkwebdir –c LocalHost –w "Default Web Site" –v CommonImages,D:\Images


© 1997-2001 Microsoft Corporation. All rights reserved.