Batch File to Open Multiple Websites at Once on Windows 10 and 11

A batch file is a plain text file that Windows runs line by line. Give it one start command per address and a single double-click opens every site. This guide covers the exact syntax, browser choice, delays and the shortcut-key step.

  • NewSoftwares.net editorial team
  • Published November 2026
  • Last verified: November 2026
  • 7 min read
See our top recommendation →
Batch file as a list of lines launching browser windows sites.batstart “” “https://...”start “” “https://...”start “” “https://...”start “” “https://...”start “” “https://...”
Quick answer

Batch file to open multiple websites: quick answer

Open Notepad, type @echo off, then add a line such as start "" "https://example.com" for every site. Save the file as sites.bat with the type set to All files, then double-click it.

  • Use https:// on every address so Windows hands the line to your browser.
  • Keep the empty quotes after start. They stand in for the window title.
  • Add a timeout line only if the tabs open in the wrong order.
Syntax

The syntax of a website batch file

Four parts, and you only ever change the addresses.

What does each line of the file do?

The first line, @echo off, stops the console from printing every command. Each start line then asks Windows to open one address. Microsoft’s reference says start accepts an optional quoted title before the target, which is why the empty quotes matter.

sites.bat: the basic file
@echo off
start "" "https://example.com/mail"
start "" "https://example.com/calendar"
start "" "https://example.com/status"

Replace the example addresses with yours. Windows runs the lines top to bottom and does not wait for each page, so the tabs appear almost together.

The parts of a start line
PartWhat it isWhat happens if you skip it
startThe command that launches a target without waitingThe batch file waits for each page, which does not suit a browser
“”An empty window titleWindows may treat the quoted address as the title and open a console window
“https://…”The address, in quotesAn ampersand in the address cuts the line in half
@echo offHides the commands as they runThe console prints each line, which is harmless but noisy
Browser choice

Choosing a browser for each line

Default browser first, then named browsers.

How do I open the sites in Chrome or Edge specifically?

Put the browser’s program name after start: start chrome for Chrome or start msedge for Edge, then the address. Without a name, Windows uses your default browser, which is the simplest option and the one to keep unless two browsers must share one script.

Named browsers in one file
@echo off
start chrome "https://example.com/mail"
start msedge "https://example.com/status"
start "" "https://example.com/news"

If Chrome is not installed, Windows will show an error for that line and carry on. Name a browser only where you need one. Users in the Microsoft Tech Community report that Edge’s startup boost can make switches such as a new-window flag get ignored, so test named lines with Edge already running.

Timing

Adding delays so tabs open in order

Pauses help on slow PCs and long lists.

Browsers usually open tabs in the order they receive them, but a busy PC can scramble that order. Add a pause line between addresses to fix it. The timeout command counts seconds and can be skipped by a key press unless you add a switch for it.

A two-second pause between sites
@echo off
start "" "https://example.com/mail"
timeout /t 2 /nobreak >nul
start "" "https://example.com/calendar"

Keep pauses short. Two seconds across ten sites adds twenty seconds. Most people only need a pause after the first line, while the browser itself starts.

Shortcut key

Attach a shortcut key to the file

The step most guides skip: where the shortcut must live.

  1. Create a shortcut to the file

    Right-click sites.bat and choose Show more options, then Send to, then Desktop (create shortcut). On Windows 10, right-click and use Send to, then Desktop.

  2. Open its properties

    Right-click the new shortcut, choose Properties and stay on the Shortcut tab.

  3. Press your combination

    Click the Shortcut key box and press Ctrl+Alt+S. Windows enters it for you. Click Apply.

  4. Keep the shortcut where Windows looks

    Microsoft’s scripting reference says a shortcut key works only for shortcuts on the desktop or in the Start menu. Move it out of a folder and the key stops working.

Hide the console window

In the shortcut’s properties, set Run to Minimized. The console flashes less, and the browser still opens in front.

Longer lists

Using a text file for long lists

When the script gets in the way of the list.

Past about eight sites, editing a batch file by hand gets fiddly. A loop reads a plain text file instead, so you change sites without touching the script.

Batch loop reading urls.txt
@echo off
for /f "usebackq delims=" %%u in ("%USERPROFILE%\Documents\urls.txt") do start "" "%%u"

Type this exactly as shown inside a .bat file. Percent signs are doubled in batch files and single on the command line, so a line copied to the command prompt needs single ones. One address per line in urls.txt, with no blank lines at the end.

Read before you run

A batch file runs with your user rights. Run only files you wrote or read, never one from a chat or an unknown download, and keep passwords out of it.

Limits

What a batch file cannot do

Know the edges before you build around it.

Batch file limits and the usual way around them
LimitWhyWorkaround
Cannot sign you inOpening a page is not logging inStay signed in through your browser profile and a password manager
Fails on very long linescmd.exe has an 8191-character line limitOne address per line, or a text file loop
Shortcut key needs the desktop or Start menuA Windows rule for shortcut keysKeep the shortcut there, or use a hotkey tool
May be blocked at workSecurity policy can block scriptsAsk IT, and see the work-PC guide
No window to manage the listIt is a text fileUse the Macro Keys hotkey launcher for a window

If your key press opens only the first page, jump to the troubleshooting guide.

Questions

Batch file questions

Short answers, with the conditions after.

How do I make a batch file open multiple websites?

Type @echo off, then one line per site in the form start “” “https://example.com”. Save the file as sites.bat with the type set to All files, then double-click it. Every line opens one tab in your default browser.

Why does my batch file open only one website?

Usually one line is missing the start command or has a typo in the address. The empty quotes after start are also required. Open each address by hand first, then test the file with two lines before you add more.

Can a batch file open sites in Chrome and Edge together?

Yes. Use start chrome on some lines and start msedge on others. Edge may ignore switches while its startup boost is running, so close Edge fully if a line misbehaves. Name a browser only where it is needed.

How do I run the batch file with a key press?

Make a shortcut to the file on the desktop, open its properties and press a Ctrl+Alt combination in the Shortcut key box. Windows only honors that key for shortcuts on the desktop or Start menu, so do not move it into a folder.

Is a batch file safe to run?

A batch file you wrote and read is as safe as you are. It runs with your user rights, so never run one from a stranger and never store a password in it. On a work PC, ask IT before you run any script.

Do I need admin rights?

No. A batch file that only starts websites runs as your normal user, and so does the shortcut key. You only need admin rights for actions that change the system, which this file does not do.

Can I add a delay between websites?

Yes. A timeout line such as timeout /t 2 /nobreak >nul between two start lines pauses for two seconds. You rarely need it. Add one only if the tabs open in the wrong order on a slow PC.

Does this still work on Windows 10?

Yes. Start and shortcut keys are built into Windows and do not depend on updates. Microsoft ended Windows 10 support on October 14, 2025, so that PC no longer gets security fixes and browsing on it carries more risk.

Our verdict

A batch file is enough for most people

Write the lines, test two sites, then attach a shortcut key on the desktop. Move to a hotkey tool only if you want a window for managing many shortcuts.