Microsoft Corporation Question:
How to create a Web virtual directory by using the Iisvdir.vbs script?
Answer:
1.
From the Start menu, click Run.
2.
In the Open box, type cmd, and then click OK.
3.
At the command prompt, type the following:
cscript %SystemRoot%system32iisvdir.vbs /create SampleWebSite[/Path] VirtualDirectorydrive:path
where SampleWebSite, VirtualDirectory, and path is the physical directory, as appropriate.
From the Start menu, click Run.
2.
In the Open box, type cmd, and then click OK.
3.
At the command prompt, type the following:
cscript %SystemRoot%system32iisvdir.vbs /create SampleWebSite[/Path] VirtualDirectorydrive:path
where SampleWebSite, VirtualDirectory, and path is the physical directory, as appropriate.
Previous Question | Next Question |
How you can create Virtual Root in IIS? | How to create a virtual directory by using Windows Explorer? |