Running batch files on Macbook
Moderator: DosItHelp
Running batch files on Macbook
Over the past few years I've accumulated a decent amount of batch files however as of this week my place of business is getting rid of all their windows laptops and replacing them with Macbooks. Are there any programs I can use that will allow me to run batch files on the computers. I would also prefer to run the program from my flash drive if possible. Thank you everyone.
Re: Running batch files on Macbook
Install Boot Camp.
Install Windows
Boot into Windows instead of Mac OS.
Run your batch files.
Install Windows
Boot into Windows instead of Mac OS.
Run your batch files.
Re: Running batch files on Macbook
Looks like it is possible with wine.
http://superuser.com/questions/543159/h ... mmand-line
But what are you going to do when your batch file has an external cmd that it runs that is not provided by CMD.EXE?
http://superuser.com/questions/543159/h ... mmand-line
But what are you going to do when your batch file has an external cmd that it runs that is not provided by CMD.EXE?
Re: Running batch files on Macbook
Squashman wrote:Looks like it is possible with wine.
But what are you going to do when your batch file has an external cmd that it runs that is not provided by CMD.EXE?
I'm not sure Ill continue looking for multiple solutions but Thank you Squashman this is very helpful. Any suggestions are apreciated.
Re: Running batch files on Macbook
Would dosbox work as well?
Re: Running batch files on Macbook
batchcc wrote:Would dosbox work as well?
Try it.
While there is an emulator for OS X. I doubt it is going to run all commands.
Re: Running batch files on Macbook
Certainly not going to hurt you to learn BASH.
Re: Running batch files on Macbook
Squashman wrote:Certainly not going to hurt you to learn BASH.
I would prefer not to have to convert the many scripts I've collected and coded but if you could tell me about good online resources to learn it I would appreciate it
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Running batch files on Macbook
Squashman wrote:Certainly not going to hurt you to learn BASH.
Is the Mac version of bash even modern bash? I remember once struggling to change the extensions of a group of files on a Mac because the normal mv *.old *.new way didn't work; I had to use some ridiculous for loop.