iis7.0命令行下列网站的物理目录的代码

iis7.0命令行下列网站的物理目录的代码,第1张

iis7.0命令行下列网站的物理目录的代码 CD %systemroot%\system32\Inetsrv\

如果您运行的是 64 位 Windows,请从 %windir%\system32\inetsrv 目录而不是 %windir%\syswow64\inetsrv 目录中使用 Appcmd.exe。

C:\Windows\System32\inetsrv>appcmd list VDIR
VDIR "Default Web Site/" (physicalPath:%SystemDrive%\inetpub\wwwroot)
VDIR "Default Web Site/PerlEx/" (physicalPath:C:\Perl\eg\PerlEx)
VDIR "test/" (physicalPath:C:\inetpub\other)
VDIR "test/t" (physicalPath:C:\inetpub\other)

可惜了,要管理员权限.

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/yw/900001.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-15
下一篇 2022-05-15

发表评论

登录后才能评论

评论列表(0条)

保存