JOJ
踏踏实实做人,认认真真做事!放纵自己就是毁灭自己!

在window server2003中使用iis6可以使用 iisapp.vbs的命令! 但是在window server2008中使用的是iis7.0,在输入iisapp.vbs就会得到'iisapp' is not recognized as an internal or external command, operable program or batch file. 然后google吧! 又叫输入appcmd.exe ; 得到:'appcmd.exe' is not recognized as an internal or external command,operable program or batch file.

oh,怎么都不行呢!最后找到一篇老外的文章:http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/

原来输入appcmd.exe命令的时候必须输入全路径:%systemroot%\system32\inetsrv\AppCmd.exe list sites 或者输入:inetsrv\appcmd list sites 也可以!

posted on 2010-05-24 14:21  JoinJ  阅读(730)  评论(0编辑  收藏  举报