http://tech.it168.com/KnowledgeBase/Articles/7/e/8/7e893d2601f00f27e4a8e7e40a2a55b8.htm
试了N次,发现不行,原来需要设置运行iis进程用户的权限,比较麻烦, MS的站点上有一篇说明:
http://support.microsoft.com/default.aspx/kb/555134再找了找,可以先执行cmd.exe,然后以参数形式调用bat文件即可,参考文章:
http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/13/13484.aspx