Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过这个:
c:\inetpub\AdminScripts\adsutil.vbs set w3svc/1/logfiledirectory d:\logfiles\iis6
在我们的 Windows Server 2003 机器上,但出现错误:
Windows Script Host This script does not work with WScript. [OK]
如何设置位置?
使用脚本......
您可以使用类似的命令
cscript adsutil.vbs set w3svc/1/logfiledirectory d:\logfiles\iis6
或将 cscript 设置为 vbscript 的默认主机。