Operational Procedures
Which file extension identifies a Windows script that runs a series of Command Prompt commands?
Show the answer
Correct answerB. .bat
AWhy not this: .sh files are shell scripts for Linux and macOS, not Windows Command Prompt.
BWhy this is right: Batch files hold Command Prompt commands that Windows runs in sequence.
CWhy not this: .js files hold JavaScript code, which is not a list of Command Prompt commands.
DWhy not this: .py files hold Python code and need a Python interpreter, not Command Prompt.
A .bat file is a Windows batch file. The Command Prompt interpreter runs its commands in order. A .sh file is a shell script for Linux and macOS, so it does not fit Windows Command Prompt commands.