A batch file is a set of instructions which runs commands for the system unit.

There are no limits to what a batch file can run.

Find out how to create and run one with these steps.

How To Create And Run A Batch File On Windows 10

Contents

Create a Simple Batch File in Windows 10

A batch file is your scripted manual.

You write specific instructions for your day to day tasks.

you’ve got the option to write a batch file in notepad.

ECHO OFF

Notepad is a built-in Windows system.

You are writing these tasks for your system.

Because computers dont understand human language, you have to write these tasks in a computer language.

Run Simple Batch File

For this purpose, you must know the basic usage ofCommand Prompt.

Go to theStartbutton at the bottom of the home screen.

you’re free to also open Notepad from the desktop.

Create an Advanced Batch File

Now you have to enter the command for the creation of the batch file.

Enter@ECHO OFFin your Notepad.

This command will create a new batch file.

Windows 10 Pro English USB Flash Drive 3264 bit

You will see confirmation of your activity on the computer screen.

Like other files, you have to preserve your batch file.

back up your file and give it a name.

Your file will contain .bat as an extension.

you’ve got the option to stash your batch file at any location.

A batch file usually saves itself inMY Documents, but you might save it in other locations as well.

it’s possible for you to also make a shortcut at your desktop.

Run Simple Batch File

1.

After saving your batch file you have to search it.

Reach your Batch file directly, if you know its location.

You do not need to pop crack open the Batch file.

Place your cursor on the Batch file and double hit it.

Your batch file will start performing the written tasks.

Create an Advanced Batch File

An advanced batch file executes many commands at one time.

Open Notepad and pop in the commands to create an advanced Batch File.

An advanced batch file needs more commands than a simple batch file.

Once your batch file executes, save it and give it a name.

you’re able to run this batch file by a double as well.

In Windows 10, you might run batch files by Command Prompt and Files Explorer.

you’re able to schedule the running timing so you dont need to do it manually every time.

Use these steps to schedule the batch file:

1.

Go to theStartbutton and opentheTask Scheduler.

Now you have to right hit the Task Scheduler.

Click onNewand add your batch file in it.

Tap at theNextset your time preferences.