FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

APPLICATION SOFTWARE FOR PERSONAL ENTERPRISE WORKGROUP OBJECTIVES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which file extension is used for files that execute multiple commands from within a Windows command prompt?
A
.cmd
B
.bat
C
.exe
D
.scexe
Explanation: 

Detailed explanation-1: -Batch files, or those with a . bat extension, are used to execute multiple commands at the same time from the Windows command prompt.

Detailed explanation-2: -Microsoft’s Windows operating system typically uses the . bat filename extension for batch files.

Detailed explanation-3: -Just add all the commands line by line in a batch file, and save the file as somename. bat. Execute that batch file; all the commands would run sequentially in the order of their presence in the file.

Detailed explanation-4: -BAT is the batch file that is used in DOS, OS/2 and Microsoft Windows. CMD files are newer version came into existence for batch files. The older systems will not know about CMD files and will run them partially which will throw an error for the batch files saved as CMD.

There is 1 question to complete.