Batch file and some Fun commands
What is batch scripts? A batch script is a text file that contains certain commands that are executed in sequence. It is used to simplify certain repetitive tasks or routines in the Windows, DOS and OS/2 operating systems , and is also used in complex network and system administration. Batch executions There are 2 ways to execute a batch script. Type the batch script in the command prompt. Write the code of script in a file and execute it through the command prompt. Typing commands again and again on the terminal can be a very tedious task to do if we have a very lengthy code. So option 2 is generally preferred to create batch files. How to create batch file? Create a new text file with a ‘ .txt ‘ extension. Now rename this file with extension as ‘ .bat ‘ this creates a Batch file. Now open this .bat file in any text editor and start scripting. To begin scripting we must be aware of the commands of the batch interface. The commands of Batch are sometimes similar to Linux Scriptin...