Reputation: 7216
How can I run a batch-file uder windows git-bash console. When I run it I get:
user@DESKTOP-DF012sh MINGW64 /c/project-folder
$ util.bat
bash: util.bat: command not found
Upvotes: 4
Views: 6445
Reputation: 1329572
It should work if you mention where the bat is.
./util.bat
By default, a $PATH
does not include the current folder.
I just tested executing a .bat
script that way, and it worked just fine.
Upvotes: 4