New! GraphQL.NET Cookbook by Senthil Kumar Balu

How to open a website via Batch file?

In this blog post, i will show you how you can open a website via batch file.

Note that the website will open in the default web browser of your system.

My system always has Internet Explorer as the default browser.

1. Open the Notepad and copy the following text

@echo off


2. Save the filename and <your filename>.bat

3. Double click and open the saved file. It should open the website “”.

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.