Assume, whenever you start browsing, you want to open three tabs by default in Google Chrome such as Google.com, Yahoo.com, Bing.com.
If you want to open these three tabs in Google Chrome. First open up your notepad and write few steps of code.
In the notepad, copy paste the following code.
@echo off start "" chrome "https://google.com" start "" chrome "https://yahoo.com" start "" chrome "https://bing.com"
Save it as a batch file.
Here is the process to save it as batch file: Once you copy paste the above statements, click on “Save As” and change “Save As Type” from “Text Documents (*.txt)” to “All Files (*.*)” and enter “File Name” as “MyBatchFile.bat” and click on “Save“.
You can find the “MyBatchFile” at your systems default location (say Desktop).
Note: Here you can choose any name as per your wish but place “.bat” at the end of the file name.
Now select that file and “Open“
You could see all the three URLs are opened in three different folders in Google Chrome.
Assume, you want to open 4 URLs. Already we have three in our code. Lets amend the forth one in the code i.e., Facebook.com
To do this, Go to the location where “MyBatchFile” is available and click on “Edit“. Amend the required URL at the end (here say facebook.com) and click on “Save“. Your code should be same as mentioned below.
@echo off start "" chrome "https://google.com" start "" chrome "https://yahoo.com" start "" chrome "https://bing.com" start "" chrome "https://facebook.com"
What are your opinions about this post? Was this post helpful? Do comment. If you like it, please share with your friends.