我正在尝试使用批处理文件执行以下命令:
for /f %i in (D:\random\servers.txt) DO (d:\utils\tail -60 \\%i\c$\Windows\windowsUpdate.log | d:\utils\grep "updates detected" & set tx1234=%i)
Run Code Online (Sandbox Code Playgroud)
它在命令提示符中单独调用时有效,但是只要我将它保存在批处理文件中,它就会失败并显示消息
此时出乎意料
有任何想法吗?
归档时间: |
|
查看次数: |
8134 次 |
最近记录: |