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)

可惜了,要管理员权限.

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/155768.html<

(0)
运维的头像运维
上一篇2025-03-15 14:31
下一篇 2025-03-15 14:32

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注