What's the Linux equivalent to Windows batch files?

Solution 1:

You need to learn to write bash scripts. These are the Linux equivalent of windows batch files. The syntax isn't too difficult to get your head around. I suggest googling as there are many great freely accessible tutorials.

I suggest BASH Programming - Introduction HOW-TO

Note that you will need to change your windows-style paths to Linux style. E.g.

my_drive_letter:\my_folder\myfile

becomes

/media/my_drive_label/my_folder/my_file

Solution 2:

Make sure you have installed wine Install wine, then do the following command in a terminal:

wine cmd

This will open up a Windows command prompt. Start your .bat from there.

Solution 3:

Learn python

You might want to learn python.

It's easy to learn and more readable than some other scripting language... ;-)