I Want To Know What Is A Batch File And Its Utility. Please Explain Me The Full Details In Easy Way?
A batch file is a file containing a series of commands, to be run one after the other, almost as though they were being typed at the command prompt, although all that must be typed is the name of the batch file. In the world of PCs, they were much more common in the days of DOS (before Windows). For example, a one word batch file might contain a series of lengthy commands to copy the contents of certain directories to another location (e.g. for a backup).
A batch file might clear the screen, then type out another file, which happens to look like a menu, with other commands on it. Each of those commands does something (like run a word processor, log in to the network, send a message, etc) and then calls the original batch file, which presents the menu again.
Its utility is that the user doesn't have to know or remember the details of the commands it contains, and that it makes certain actions easily repeatable.
A batch file might clear the screen, then type out another file, which happens to look like a menu, with other commands on it. Each of those commands does something (like run a word processor, log in to the network, send a message, etc) and then calls the original batch file, which presents the menu again.
Its utility is that the user doesn't have to know or remember the details of the commands it contains, and that it makes certain actions easily repeatable.
A batch file is generally a group of objects to have an action performed on them. For example, let's say you needed to process a group of images to web resolution, you could run a batch operation to process an entire folder.
It can also be the term for the file that organizes the batch or identifies it.
The term "batch file" refers to the facility in some operating systems to execute a text file containing a sequence of commands. These files are often used to automate repetitive tasks without actually going to the
trouble of writing, building and debugging a short program in some computer langauge. It is easily "programmed" using the commands from the OS's command interpreter, can be run repeatedly once it is written and
doesn't take as much time and effort as writing a short program in BASIC or C. They exist in some form in most OSes.
A batch file is a file containing a series of commands, to be run one after the other, almost as though they were being typed at the command prompt, although all that must be typed is the name of the batch file. In the world
of PCs, they were much more common in the days of DOS (before Windows). For example, a one word batch file might contain a series of lengthy commands to copy the contents of certain directories to another location (e.g. for
a backup).
A batch file might clear the screen, then type out another file, which happens to look like a menu, with other commands on it. Each of those commands does something (like run a word processor, log in to the network, send a message, etc) and then calls the original batch file, which presents the menu again.
Its utility is that the user doesn't have to know or remember the details of the commands it contains, and that it makes certain actions easily repeatable.
A batch file might clear the screen, then type out another file, which happens to look like a menu, with other commands on it. Each of those commands does something (like run a word processor, log in to the network, send a message, etc) and then calls the original batch file, which presents the menu again.
Its utility is that the user doesn't have to know or remember the details of the commands it contains, and that it makes certain actions easily repeatable.
I agree with gril803, and would add that they are used to perform repetitive tasks without the need to reenter the commands, long running unmonitored tasks, and to run job streams when the operating system (OS) resources are
at a lower demand level.