0

我有这个批处理文件:

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.
4

1 回答 1

0

试试这个:""在你的情况下,开始命令中需要前导。验证路径也正确。

Start "" excel "C:\Users\test\Desktop\soft\AD Monitor Auto Run.xlsm"
于 2013-07-24T01:20:42.640 回答