开发者

Running a .bat file in Scheduled Task

I am using a Windows Server 2008 machine where I need to run a batch file as a Scheduled Task. The scheduled batch file is not running, but when I click the batch file manually its running with no problem.

The Content of the batch file is as follows:

  cd E:\SOAPUI\soapui-2.0.2\bin
  e:
  testrunner.bat -sDev_Test -a -j -f "D:\DocRepos\LensWebS开发者_如何转开发vc\SOAPUI-Reports(Lens)"                 
  "D:\DocRepos\LensWebSvc\SOAPUI\LensWebServiceTest(Lens)-soapui-project.xml"

Can anyone help me to run the batch file in scheduled task?


It could be a few things. Make sure you've set the task to start in the same path that the batch file is located. Also, make sure the account running the task has permission to run the task and access the location of the batch file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜