On a Windows machine I want to avoid using cmd.exe
at all cost. I'm trying to use babun (mintty 1.1.3) to run a batch file in a Windows folder.
This works:
{ ~ } » ./file.bat -o /path/to/files.xml
However, I would like to do something like:
{ ~ } » cd /path/to/
{ ~ } » ./"c:\Program Files\App\file.bat" -o files.xml
However, all I get is zsh: no such file or directory:
I have tried sh
, cmd /c
and some other commands I've found, to no avail. I have also tried using a more linux-friendly path format, i.e. c:/Program\ Files/App/file.bat
I will be grateful for any help with this.