When you fire up your browser, if you have not set up some pages for it to open at run time, it will generally default to a Start page. Maybe you like the Start page that is provided and that’s fine but I prefer it to open specific pages like an email client (Gmail) and, of course, Dave’s Computer Tips (where I spend a LOT of time).
There are also other sites I visit regularly so I end up clicking on their respective bookmarks (favorites) every time I need something from them. If you find yourself opening the same sites over and over, you can make the task less tedious by creating a Desktop shortcut to do it for you. This Quick Tips article will show you how…
- Don’t forget, you can now contact us: Got a Question? Ask an Expert
If you open the Command Prompt (DOS Box) and type in
start https://www.davescomputertips.com and hit Enter, the DCT home page will open up in your default browser. That can be Edge, Chrome, Firefox, whatever. Pretty slick, but it seems like a lot of work. This would be especially true if you wanted to open several sites this way.
Create a BAT File
BAT is short for BATch. They are called Batch files because they allow you to process a number of commands, one after the other, by clicking on a Desktop icon (or wherever you saved it).
BAT files are easy to create. The only tool you will need is the old standby text editor we are all familiar with — Notepad.
Open a new instance of Notepad and type or copy-and-paste the following lines:
@echo off start https://www.davescomputertips.com start https://davescomputertips.com/windows-10-quick-tips-special-desktop-links/ start https://davescomputertips.com/create-shortcuts-to-websites-in-chromium-edge/ start https://davescomputertips.com/create-desktop-shortcuts-in-windows-10/
Choose File, then Save As. You should be here:
Note: You can click these images to enlarge them for easier reading.
That should bring you here:
Two things are important here:
- Be sure to add the .bat extension to the filename you choose
- Change the Save as type option to All files instead of .txt
For easy access, it is recommended that you save this shortcut to the Desktop. You now have a one-click shortcut that will (in this example) open four sites of your choice in your default browser. (I may have been a bit biased in my choices.)
When you run this BAT file, a blank DOS Box will open, then it will run each command you have entered in the BAT file, then it will close. A BATch of commands has been executed.
Editing the BAT File
If you ever decide to change the sites that open, then…
Right-click on your new shortcut and choose Edit from the Context Menu.
This should open the BAT file in Notepad. If not, you will have to tell Windows that BAT files should be opened by default with Notepad (or any plain text editor you choose).
Note: You must use a plain text editor. Word processors such as Word will not produce unformatted text that can be used in the DOS Box.
As always, if you have any helpful suggestions, comments or questions, please share them with us,