How to create a Bat file to quickly open multiple websites on Windows 10

Ideal if you can open multiple websites in Windows 10 with a single desktop shortcut, especially if you tend to frequently open certain groups of websites.

In fact, you can do this with .bat files. Batch file (.bat) will help you to execute tasks on your computer automatically. You can automate everyday tasks, shorten the time it takes to perform a task, and turn a complex process into something anyone can do.

For example, you can create a .bat file to move one or more specific files by clicking on that .bat file, or even turn off the screen if desired.

Create Bat file to quickly open multiple web pages

To open multiple websites in Windows 10 at the same time (on any browser) without using bookmarks or browser extensions. You will need to create a .bat file to perform specific tasks based on the instructions in the file automatically. In this case it is opening multiple web pages at once.

The beauty is that you don't need any in-depth programming knowledge to create a .bat file. In fact, you'll just need to copy and paste a few simple commands as well as enter paths to the websites you want to open with that Bat file.

Create file

There are two ways you can start creating a .bat file. First, open Notepad, or right click anywhere on the screen and choose 'New -> Text Document'. Both of these methods help you to open a blank text document. Make sure you select 'Text Document' as you don't need any formatting options.

How to create a Bat file to quickly open multiple websites on Windows 10 Picture 1

Enter the following command in the first line:

@echo off

Then you will enter the list of webpages that you want to quickly open. You must enter the full URL. For example, if you want to add TipsMake.com to your list, you need to add the URL https://TipsMake.com. If the URL is entered incorrectly, the file returns an error message.

Place each website on its own line and add 'start' in front of it, for example:

start https://tipsmake.com

Just for a moment, you can copy the text later and just enter the website URL you want.

@echo off 

start https://www.website1.com
start https://www.website2.com
start https://www.website3.com

The contents of your file should look similar to this, but of course with your own websites:

How to create a Bat file to quickly open multiple websites on Windows 10 Picture 2

You can add as many URLs as you want. Just make sure each line starts with 'start'.

Save the file

If you save your file in the usual way, it's just a 'harmless' Notepad file. Instead, you have to save the file as .bat. Note, don't use Save as, but you must manually add the .bat extension to the file name.

For example, you could name your file TechSites.bat.

How to create a Bat file to quickly open multiple websites on Windows 10 Picture 3

You can leave the file type as Text Documents. Click Save and all are done. You can save the file in a location other than your desktop, but for easier access, most people choose to save the file right on the desktop.

Once the file is saved, you can double-click the file at any time to open all the webpages in the list at once. If you receive an error message, check your file to make sure any website URL is entered correctly. To avoid the problem, open each website in your browser and copy that website URL into your .bat file.

Edit file

Although you can open multiple websites in Windows 10 at the same time with this Bat file, if the needs change over time, you may need to add or remove several websites from the list.

You don't need to retype everything, just right-click on your file, and choose Edit. This will reopen the file in Notepad for you to edit. Save your changes when done.

How to create a Bat file to quickly open multiple websites on Windows 10 Picture 4

Sometimes the file reverted back to .txt. In this case, reopen the file and save it using the same procedure as when you created the file above.

4.3 ★ | 16 Vote

May be interested

  • How to open the Host file on Windows 10, edit the hosts fileHow to open the Host file on Windows 10, edit the hosts file
    how to open the host file on windows 10 helps users to edit the host file, manage access to web sites on computers and laptops. the following article will guide you how to open and edit the host file on windows 10 simply and quickly.
  • How to open, run the .jar file on a Windows computer?How to open, run the .jar file on a Windows computer?
    to open a .jar file on a windows computer you will have to install the java runtime environment (jre). alternatively, you can use decompression software to view the files attached to the .jar file. if you want to find out more about the steps to run the .jar file and see the files attached in the .jar file, please refer to the following article of network administrator.
  • How to Create New Files on WindowsHow to Create New Files on Windows
    there are many ways to create files on personal computers running the windows operating system. how you do this will vary depending on the file you want to create, but usually you just need to open an application in the start menu and use the tool to create the desired file type. you can also create blank files in file explorer. this article will show you how to create files on windows.
  • Steps to create multiple folders at once on Windows 10Steps to create multiple folders at once on Windows 10
    creating batch folders at once on windows 10 will save you a lot of time and manipulation when you have to work with a large number of documents that need to be sorted.
  • How to Make a New File in WindowsHow to Make a New File in Windows
    there are many ways to create a file on your windows pc. depending on the file you want to create, you'll usually just open an app from the start menu and use its tools to create the desired type of file. you can also create a blank file...
  • How to browse multiple websites with the same Chrome tabHow to browse multiple websites with the same Chrome tab
    if you want to have multiple websites with the same tab open, you can install the spidertab extension. this extension will open multiple websites that we want to browse on the same tab.
  • Using Keyword Redirect opens the website via keywordsUsing Keyword Redirect opens the website via keywords
    keyword redirect helps users to quickly open web pages via the shortcut settings for that website.
  • How to View All Open Windows on Your ComputerHow to View All Open Windows on Your Computer
    when you have multiple apps open on your computer, it can be difficult to remember which windows are open. fortunately, windows 11, windows 10, and macos all have simple shortcuts and utilities that make multitasking easy. here's how to quickly see which windows and apps are open on your windows or mac computer.
  • How to fix the error of not being able to open JPG files in WindowsHow to fix the error of not being able to open JPG files in Windows
    if your windows 10 or 11 pc refuses to open jpg files, there could be a number of issues going on, such as a corrupted file or a problem with the default photo viewer.
  • How to Enable and Disable Tabs in File Explorer on Windows 11How to Enable and Disable Tabs in File Explorer on Windows 11
    on windows 11 22h2, you can enable/disable tab mode in file explorer. this feature works the same as in microsoft edge. you can open multiple tabs for each section of file explorer, folder, or drive. additionally, you have the option to create new or close open tabs, and this feature works in tab mode.