Microsoft, Powershell And Batch Files In The Computers

791 Words4 Pages
Batch Files

A batch file is a text file that usually carries out one or more tasks in order; these batch files run like a small computer program. This information is listed out in a simple text format in the window, which is then saved onto the computer and run by clicking on the selected file. Batch files can be used to automate several tasks, which are used by both people in the computer industry or just every day computer use. These files are often used to help load programs, run multiple processes at a time, and perform common or repetitive tasks that will take up too much time to complete manually. These batch file does all the work for you and communicates with command prompt line (CMD) without you having to type in each time. The
…show more content…
The cycle initiates at the start where the process is first started and created in the CPU. The process will then be ready and waiting to be assigned to the processor by the operating system so that it can be run. Once the process has been assigned by the scheduler, the process is then set to running and the instructions executed. Processes can be moved to the waiting part of the process cycle to wait for extra resources if necessary, this can be in the form of a user input or even waiting for a file. Once the process finishes and has been terminated by the OS, it is then moved to the terminated start and removed.
Process scheduling handles the removal and selection of any process in to the CPU based on any of the requirements from the particular process algorithm Process scheduling is an essential part of a Multiprogramming operating systems. Such operating systems allow more than one process to be loaded into the executable memory at a time and the loaded process shares the CPU using time multiplexing

There are several different scheduling algorithms used on a computer, which all have their different features, please see the definitions for First come first serve, round robin and multilevel queue scheduling.

First come first served
Jobs are executed on a first come first served basis

Round robin
Round robin is a process used for network

More about Microsoft, Powershell And Batch Files In The Computers

Get Access