It's just a text file that contains a list of commands to execute which helps automate tasks that would be otherwise overtly tedious.
You can make a batch file by opening a text-editor (such as Notepad) and writing the commands to use, as well as some comments, and save it as a .bat file. When you click on it, the commands you entered will be run sequentially.
2007-03-12 10:08:20
·
answer #1
·
answered by d3v10u5b0y 6
·
0⤊
1⤋
batch file
A file that contains a sequence, or batch, of commands. Batch files are useful for storing sets of commands that are always executed together because you can simply enter the name of the batch file instead of entering each command individually.
In DOS systems, batch files end with a.BAT extension. For example, the following DOS batch file prints the date and time and sets the prompt to GO>:
date
time
prompt [GO>]
Whenever you boot a DOS -based computer, the system automatically executes the batch file named AUTOEXEC.BAT, if it exists.
Many operating systems use the terms command file or shell script in place of batch file. More information at the link.
Source: http://www.webopedia.com/TERM/b/batch_file.html
2007-03-12 10:09:16
·
answer #2
·
answered by TheHumbleOne 7
·
0⤊
0⤋
a batch file ends in .bat
batch files are a text file of ordinary DOS type/command line commands
you write a batch file in notepad, then change the .txt to bat
autoexec.bat used to be a file that automatically executed commands on startup
in the olden days the early virus programs ignored .bat files, and people could circulate .bat files with commands such as format or move,
moving a folder is like renaming it such that if you "moved/renamed" the Windows folder, it could not be found on the next reboot.
batch files have their good purposes, like automating repetitive batches of commands, but never open one attached to an e-mail ;)
2007-03-12 10:28:33
·
answer #3
·
answered by RB 1
·
0⤊
0⤋