Create Virtual Web Directory (mkwebdir)

Summary: Create a new virtual directory for a web server

 

Usage:

 

mkwebdir

<--computer|-c COMPUTER>

<--websites|-w WEBSITE1,WEBSITE2,...>

<--virtualdir|-v NAME1,PATH1,NAME2,PATH2,...>

[--help|-h]

Arguments

Description

COMPUTER

Computer on which the web dir should be created

WEBSITE1, WEBSITE2

Web Servers to process

NAME1,PATH1,NAME2,PATH2

Names and paths for virtual directories to create

 

Example:

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