I'm trying to run a batch script from my mac terminal using wine (in order to provide arguments to a windows executable and piping output).
so far I've tried executing
but obviously I get an error that says approximately
"EXE Format not correct for <... here the path of batch file ...>" (it's a localized error message, I translated it to English for the sake of clarity). So I understand I have to call the batch file using something like cmd.exe but I've no idea where to find cmd.exe.
Is there any alternative approach? (the exe called from the batch file is a windows executable without a GUI, I cannot use DosBox thus).
Thanks in advance for any suggestion :)