如何创建使用命令行中的IIS应用程序? [英] How to create an application in IIS using command line?
问题描述
什么是在IIS 6.0中的主目录选项卡相当于通过命令行中,创建按钮? (用于创建一个目录的应用程序)。
What would be the equivalent, by command line, of the create button in the Home Directory tab in IIS 6.0 ? (Used to create an application on a directory).
编辑:
我已经知道iidvdir的。 Unfortunalety,它似乎没有工作,我希望它的方式(或我不正确地使用它)。比方说,我叫一个网站的网站的女巫为根目录为C:\\网站。我想创建在C程序:\\网站\\应用。如果我尝试
Edit : I already know of iidvdir. Unfortunalety, it doesn't seem to work the way I want it to (or I dont use it properly). Let's say that I have a website called Website for witch the root directory is C:\Website. I want to create the application in C:\Website\Application. If i try
iisvdir /create Website Application c:\website\Application
我得到的消息虚拟目录已经存在。我做错了吗?
I get the message The virtual directory already exists. What I am doing wrong ?
推荐答案
了iisvdir /创建网站应用程序C:\\网站\\应用
iisvdir /create Website Application c:\website\Application
如果目录C它只会工作。如果该目录存在,你会得到的虚拟目录已的存在信息。
It will only works if the directory C:\Website\Application doesn't already exists. If the directory exists, you will get the The virtual directory already exists message.
这篇关于如何创建使用命令行中的IIS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!