Open multiple URL links with one shortcut

“Batch files 1: open multiple URL links with one shortcut

Always open your online e-mail and calendar first thing in the morning? Write a batch file and save 10 seconds every day from now on.

Batch file code (internet explorer):

@echo off

start iexplore “http://www.gmail.com”
start iexplore “http://www.google.com/calendar”



Batch file code (google chrome):

@echo off

start chrome “http://www.gmail.com”
start chrome “http://www.google.com/calendar”


Google Chrome automatically opens a single browser with multiple tabs. If you want the shortcut to open in incognito mode, just add ‘-incognito’. The code will look like this:

@echo off

start chrome -incognito “http://www.gmail.com”
start chrome -incognito “http://www.google.com/calendar”



Batch files 2: Start multiple programs with one shortcut:
https://www.youtube.com/watch?v=yB-8_…


Follow me on other media:
►Website: http://www.guidoshowtos.com
►Facebook: https://www.facebook.com/guidoshowtos
►Twitter: https://twitter.com/guidoshowtos
►Google+: https://plus.google.com/1019286240648…


Annotations:

Right click – New – Text document

In this example I’ll link to gmail and google calendar.

Start the text document with ‘@echo off’, this will prevent cmd.exe (which executes the commands we’ll put in) from showing the commands when executed

Then type ‘start iexplore “http://gmail.com” [enter] start iexplore “http://google.com/calendar” ‘ 
(or copy-paste from the description)

Save and close the file

Right click – Rename, and change the file extention to .bat
(.cmd also works)

Click ‘Yes’

The batch file is done. Now doubleclick to execute it.

It works!

Also works with Chrome: just replace ‘iexplore’ with ‘chrome'”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s