Question: what is the difference between a batch file and a script?
Answer: Batch files are the brain damaged version of script files that are used by MS-DOS and older versions of Windows. Script files are interpreted by Linux/Unix shells and other intepretive languages such as Python and Perl, on any platform that supports those languages.