【发布时间】:2013-07-23 21:12:12
【问题描述】:
我有这个批处理文件:
cd "C:\Users\test\Desktop\soft\"
Start excel "AD Monitor Auto Run.xlsm"
当我手动执行它时,它工作正常,但是当在调度程序任务中运行它时,我收到以下错误消息:
'C:\Users\test\Desktop\soft\AD' is not recognized as an internal or external command,
operable program or batch file.
【问题讨论】:
-
不会解决你的问题,但你应该使用
cd和参数/d,这也会改变驱动器(见cd /?)
标签: excel batch-file scheduled-tasks