Answers

Question and Answer:

  Home  OS General Concepts

⟩ What is batch programming in DOS?

Batch programming is creating a file with DOS commands which will execute

with a single click even if it comprises of thousands of DOS commands. It's much faster than manual execution of commands. And saves the effort of retyping the same commands over and over again if you're doing a repetitive job with a fixed set of commands. You can rather type those commands down in notepad, save the file as filename.bat as an "all files" type of file. For example if there are a set of services to start on 100 systems, it's a waste of time going to each system, and starting all the services manually. You can type down commands to start those services, save it as a batch file, and run this batch file on all the systems.

All the services will start with just a click.

 179 views

More Questions for you: