What Is Windows Batch File

Q

What is Windows Batch File?

✍: FYIcenter.com

A

A Windows batch file (also called batch program or batch script) is a text file that contains one or more Windows commands and has a .bat or .cmd file name extension.

When you run a batch file, Windows will use CMD.EXE program to runs the commands sequentially as they appear in the batch file.

Here is an example of a Windows batch file, Ping.bat:

```@echo off