0

我想从命令提示符设置 IIS 网站的默认文档。

我可以知道如何设置这个..

谢谢, 马赫什

4

1 回答 1

1

您可以使用 appcmd.exe:

 appcmd set config /section:defaultDocument /enabled:true|false

Check appcmd help at MSDN (or here) for more information.

http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe

于 2012-07-27T08:46:02.287 回答