【问题标题】:Executig lots of batch files on windows using TCL [closed]使用 TCL 在 Windows 上执行大量批处理文件 [关闭]
【发布时间】:2012-09-28 13:14:13
【问题描述】:

在这里,我编写了一个脚本,该脚本应该执行当前目录中的所有文件。它们是批处理文件。

set path [pwd]
append path "/"
set files [glob *]
foreach file $files {
    exec cmd.exe /c ${path}$file
}

但我收到以下错误:

The system cannot find the path specified.

【问题讨论】:

    标签: windows batch-file cmd exec tcl


    【解决方案1】:

    问题不在脚本中,而在批处理文件中。其中有一些使用路径的命令是不存在的。

    【讨论】:

      猜你喜欢
      • 2012-07-28
      • 1970-01-01
      • 1970-01-01
      • 2015-11-23
      • 2021-05-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多