iis7.0命令行下列网站的物理目录的代码
更新时间:2012年08月02日 23:37:50 作者:
如果您运行的是 64 位 Windows,请从 %windir%\system32\inetsrv 目录而不是 %windir%\syswow64\inetsrv 目录中使用 Appcmd.exe
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)
可惜了,要管理员权限.
如果您运行的是 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)
可惜了,要管理员权限.
相关文章
Win2003和Win2008防火墙导致FTP服务器不能访问的解决方法
这篇文章主要介绍了Win2003和Win2008防火墙导致FTP服务器不能访问的解决方法,需要的朋友可以参考下2014-11-11
Windows Server 2016 Nginx 安装配置详细图文教程
这篇文章主要介绍了Windows Server 2016 Nginx 安装配置详细图文教程,需要的朋友可以参考下2017-08-08
Windows Server 2022 超融合部署(图文教程)
本文主要介绍了Windows Server 2022 超融合部署,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧2022-06-06
Win2008 R2 IIS7 PHP 5.4 环境搭建图文教程
大家好,有段时间没有写东西了,今天为大家带来的是在Windows Server 2008 R2上利用IIS搭建一个运行PHP网页的环境,接下来就开工吧2013-06-06


最新评论