Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

How to Create and Run a Batch File on Windows 10

MonaJune 24, 2019 Comments (0)
How To Create And Run A Batch File On Windows 10

A batch file is a set of instructions which runs commands for the system unit. It is important to know how to create and run a batch file on Windows 10 as this can help you complete various tasks automatically. There are no limits to what a batch file can run. Find out how to create and run one with these steps.

Contents

  • 1 Create a Simple Batch File in Windows 10
  • 2 Run Simple Batch File
  • 3 Create an Advanced Batch File
    • 3.1
    • 3.2 Pros & Cons of Setting up Batch Files

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 can write a batch file in notepad.

Notepad is a built-in Windows application. You are writing these tasks for your computer. Because computers don’t understand human language, you have to write these tasks in a computer language.

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

Follow this design of steps to create a batch file:

1. Go to the Start button at the bottom of the home screen.

2. Open Notepad from the programs. You can also open Notepad from the desktop.

3. Now you have to enter the command for the creation of the batch file. Enter @ECHO OFF in your Notepad. This command will create a new batch file. You will see confirmation of your activity on the computer screen.

ECHO OFF

4. Like other files, you have to save your batch file. Save your file and give it a name. Your file will contain .bat as an extension.

You can save your batch file at any location. A batch file usually saves itself in MY Documents, but you can save it in other locations as well. You can also make a shortcut at your desktop.

Run Simple Batch File

Run Simple Batch File

A batch file does not run by itself. You have to run it to keep going. Follow these steps and you will successfully run your Batch file:

1. After saving your batch file you have to search it. Reach your Batch file directly, if you know its location.

2. You do not need to open the Batch file. Place your cursor on the Batch file and double click on 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.

1. Open Notepad and type the commands to create an advanced Batch File. An advanced batch file needs more commands than a simple batch file. You have to type commands which could coordinate the Operating system, Network, and Hardware of your computer.

Create an Advanced Batch File

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

You can run this batch file by a double as well.

In Windows 10, you can run batch files by Command Prompt and Files Explorer. You can schedule the running timing so you don’t need to do it manually every time. Use these steps to schedule the batch file:

1. Go to the Start button and open the Task Scheduler.

2. Now you have to right click on the Task Scheduler. Click on New and add your batch file in it.

3. Tap at the Next set your time preferences. Save the settings and tap on the Finish

Windows 10 Pro English USB Flash Drive 3264 bit

Check Best Prices Here

Pros & Cons of Setting up Batch Files

It should be noted that batch files are considered to be an advanced feature and are usually not needed for regular users. If you know exactly what you want to do, this is a nice way to execute some simple tasks. But, make sure that there aren’t better ways to do what you need and that you are not endangering your system.

Pros

– Useful
– Not hardware intensive
– No third-party apps needed

Cons

– Needs some technical know-how
– Might induce feature creep
– Might damage the OS

If you want more utility when doing everyday tasks, you might want to try Windows 10 Professional that comes with additional features to improve productivity and execute multiple tasks at once.

Check Best Prices Here

 

Categories: Windows

Author Mona

You Might Also Like

  • Inclusion list for high risk file types policy

    Windows: Disable “Publisher Could Not Be Verified” Messages

    Mitch BartlettWindows
  • Windows Header

    Windows: Open Command Prompt to Specific Folder Location

    Mitch BartlettWindows
  • bluetooth-toggle-missing-windows-10

    Fix Bluetooth Toggle Missing on Windows 10 or 11

    Madalina DinitaWindows
  • surface-pen-not-working-after-update

    Fix Surface Pen Not Working After Update

    Madalina DinitaWindows

Leave a Reply

Your email address will not be published. Required fields are marked *

  • unable to create notebook error in onenote

    We Were Unable to Create Your Notebook Error in OneNote – Common Fixes 

  • error code 0x800704f8 fix

    Error Code 0x800704f8 – How to Fix 

  • back button in browsers doesnt work

    What to Do if the Back Button in Browser Doesn’t Work 

  • could not find this item

    “Could Not Find This Item” When Trying to Remove Files

  • no graphics signal on first boot

    No Graphics Signal on First Boot – How to Fix

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Terms of Use
  • Privacy Policy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.