A .bat file (batch file) is a script file in DOS, OS/2, and Microsoft Windows. It contains a series of commands that are executed by the command-line interpreter. In Windows environments, batch files are commonly used to automate log-in tasks, such as mapping network drives, launching applications, or setting environment variables during the user ' s logon process.
B. .sh is a shell script used in Linux/Unix environments.
C. .py is a Python script, which can be used for automation but is not commonly run directly at user logon in standard Windows environments.
D. .js is JavaScript, used mainly in web development and not for system-level scripting in Windows logon automation.
[Reference:, CompTIA A+ 220-1102 Objective 1.3: Use appropriate Microsoft operating system features and tools., Study Guide Section: Scripting basics and file types for automation — .bat for Windows, ===========================, , ]
Submit