A batch file is a term for a "batch" file, meaning that it contains a lot of information to be processed.
It’s an old term, it’s not necessarily associated with a program or script, it can be a lot of information, like data to be included/changed in a database or processed in some way, that’s the idea.
A batch file. BAT is a batch file of DOS prompt commands, such as copy
and ren
.
It is called a batch file because the DOS commands are not recognized as a programming language (such as C++
for example), nor a scripting language (such as Javascript
for example).
I’ve read in some places be called crippled language, which literally means a crippled language, that is, a language that "lacks things" to be a language.
Therefore, CMD
has several commands, which are not necessarily a language, and a BATCH
is a batch, a sequence of these commands (for example create a directory and copy files there) saved in a file .BAT
that can be executed by the operating system.
Already had a read on the tags?
– MagicHat
Yes I read and it’s the same thing I found on the internet: ""Batch", also called as "batch processing", refers to(s) execution(s) of one or more commands, which can be internal, and/or external. As well, it can(m) contain (in) program(s) call(s), on a computer, for various executions, with or without user interaction, to meet the desired processing". I don’t know if I’m the one who doesn’t understand, but I’m still wondering if it’s a language or just a tool to automate simple tasks. I would be happy if you spoke only whether or not it is a language.
– JeanExtreme002