By which language . bat is written? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

By which language . bat is written?

I've just read a code which finished with.bat I wanted to run it but I don't know which language it is. If you know then please leave a comment.. thanks

21st Jun 2018, 4:24 AM
Sajir Ahmed
Sajir Ahmed - avatar
5 Answers
21st Jun 2018, 4:26 AM
Louis
Louis - avatar
+ 7
batch file is a command like file, it will contain all informatjon about compiler it need to run a program. so basically batch file is written for windoes console to inderstand tbe script. now what that script does is totally depends what is written. you can open it on a notepad to check content.
21st Jun 2018, 4:32 AM
Sumesh
+ 6
Batch file is written in Windows Command Prompt. It can be created in Notepad and Notepad++ (Not sure about the latter) with extension .bat.
21st Jun 2018, 7:41 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 3
Just want to say to be careful running a .bat file as it may contain malicious code. Like others have said you can open in it in a text editor safely and read the code.
22nd Jun 2018, 1:39 AM
Richard Baars
Richard Baars - avatar
+ 1
It has been out there, since the DOS era. A fast way to tie multiple commands in one 'script'
22nd Jun 2018, 4:29 PM
Jochie Gaatjenixan
Jochie Gaatjenixan - avatar