我想从命令提示符设置 IIS 网站的默认文档。
我可以知道如何设置这个..
谢谢, 马赫什
您可以使用 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