任务计划程序未运行批处理文件 [英] Task Scheduler Not Running Batch File

查看:60
本文介绍了任务计划程序未运行批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个没有为我们运行批处理文件的任务调度程序作业.如果手动完成,批处理文件将运行,但不会通过调度程序运行.

I've a task scheduler job that isn't running a batch file for us. The batch file runs if done manually but won't through the scheduler.

我在任务计划程序上遇到以下错误

I'm getting following error on task scheduler

 "task scheduler failed to launch action cmd.exe in instance"

我已经看到了关于这个问题的其他问题,建议在 Start In 路径中添加(我已经这样做了,它在 Start In 路径周围没有 "",它在程序/脚本路径上),并尝试将映射驱动器更改为 UNC(完成此操作)但仍然遇到相同的问题.

I've seen other questions on this issue and recommendations were to add in Start In path (I've done this and it doesn't have "" around the Start In path, it does on the program/script path), and try changing mapped drives to UNC (done this) but still getting same issue.

有没有人知道为什么它不起作用,或者我可以提供什么?

Would anyone have any ideas why it doesn't work, or anything else I can provide for it?

谢谢

推荐答案

当我取出 Start In 路径时,它起作用了.

When I take out the Start In path, it works.

这篇关于任务计划程序未运行批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆