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 “”.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

One Response

  1. Mia May 29, 2012 Reply

Leave a Reply


Interesting BlogPosts to read

Visual Studio 2012 Tips and Tricks - Copy File Path from File Tab
Do you want to copy the full path of the file or the file that is currently open in Visual Studio 20...
Free URL Shorteners for SharePoint Websites
There are times when you want to integrate the URL Shorteners in your SharePoint websites to make th...
How to open .chm files in Windows 7?
Sometimes when you open a .CHM file in windows 7, you might get an error "Navigation to the webpage ...