Windows 2008的服务器任务计划程序不运行的.bat批处理作业 [英] Windows 2008 server task scheduler does not run .bat batch job
问题描述
我有一个Windows 2008服务器,从从命令行调用时能正常工作的一个批处理文件。但是,当我设置计划任务运行此作业,它不能正常工作。
I have a batch file on a Windows 2008 server that, when invoked from command line works fine. However, when I set a scheduled task to run this job, it does not work properly.
任务调度它只表示该任务定期得到运行时,它不显示任何错误。但是,该批处理文件不处理什么是应该进行处理。
The task scheduler does show that that the task is getting run at regular intervals, it does not show any error. But, the batch file does not process what it is supposed to process.
如何解决这个问题的任何想法是最欢迎的。
Any ideas on how to fix this issue is most welcome
推荐答案
在Windows Server 2008将不会运行的批处理文件中引号的批处理文件。
见<一href=\"http://technet.microsoft.com/en-us/library/dd851678.aspx\">http://technet.microsoft.com/en-us/library/dd851678.aspx
Windows Server 2008 will not run any batch file with quotation marks " inside the batch file. See http://technet.microsoft.com/en-us/library/dd851678.aspx
这篇关于Windows 2008的服务器任务计划程序不运行的.bat批处理作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!