The Bat Script Journey — Opening Multiple Browser Using Batch Script

Handhika Yanuar Pratama
1 min readFeb 10, 2024

--

Photo by James Orr on Unsplash

A program is used to make life easier. Right now, I want to create simple program that could be used. In this script were very simple. It will open Firefox, Chrome, and Edge using batch scripts in just one click. What’s use for? I don’t know, but it will open them all at once.

The Script

@echo off
start firefox
start chrome
start msedge

Those script will opening the Firefox, chrome, and Microsoft Edge concurrently in just one click. Remember that the exact behavior might depend on your system configurations and the versions of the browsers installed.

Important Points:

  • Each start command initiates a new process for the specified browser, allowing them to run concurrently.
  • The script assumes that the browser executables (“firefox,” “chrome,” and “msedge”) are either in the system’s PATH or that the full path to the executables is provided.
  • The order of execution in the script (firefox, chrome, msedge) means that all three browsers will be launched one after the other in the same sequence.
  • If you don’t have chrome installed in your computer, it will not work.

Well, thanks for still joining the bat script journey.

--

--

Handhika Yanuar Pratama
Handhika Yanuar Pratama

Written by Handhika Yanuar Pratama

Live the Way the Life ask for || A Stoic Engineer || Technical Writer || Runner x Dreamer

No responses yet