【发布时间】:2021-01-09 06:02:30
【问题描述】:
如何在 windows git-bash 控制台运行批处理文件。 当我运行它时,我得到:
user@DESKTOP-DF012sh MINGW64 /c/project-folder
$ util.bat
bash: util.bat: command not found
【问题讨论】:
-
也许你需要告诉 git-bash 控制台使用什么来执行
.bat脚本:cmd.exe /C util.bat -
@aschipfl 不需要。直接调用蝙蝠有效。请参阅下面的答案。
标签: windows bash batch-file git-bash