Opening a multiple websites using a batch file.

QUE.com Forums 48 – Programming Opening a multiple websites using a batch file.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #41623
    Support @QUE.COM
    Keymaster

    Every day, I have a routine to visit multiple websites to check what’s going on. Instead of opening the websites one by one. I created a batch file to open these websites for me.

    I created one for morning activities, break time and one for the evening routine.

    For my morning activity. This is my batch file, let’s call it as websites_for_morning.bat file or simply am.bat. This is to check some of my favorite websites. Of course, you can create your own list of websites.

    
    @echo off 
    start "Facebok" "http://www.facebook.com" 
    ping 1.1.1.1 -n 1 -w 1000 > nul
    tart "Yehey" "http://yehey.com"
    start "Acknowledgement" "http://acknowledgement.com" 
    start "SimpliLearn" "https://www.simplilearn.com/" 
    start "MAJ" "https://maj.com" 
    start "OWASP" "https://owasp.org/www-project-top-ten/" 
    start "Metasploit" "https://on.king.net/msfstudy/"
    start "portswigger" "https://portswigger.net/users"
    start "JavaScript" "https://on.king.net/js"
    start "Python" "https://on.king.net/python"
    

    My break time websites, I call it break.bat file.

    
    @echo off 
    start "NBA" "https://www.nba.com" 
    ping 1.1.1.1 -n 1 -w 1000 > nul
    start "Youtube" "http://Youtube.com"
    start "Acknowledgement" "http://acknowledgement.com" 
    start "Gmail" "https://www.gmail.com"
    

    For my evening, I call it websites_for_evening.bat or simply pm.bat file.

    
    @echo off 
    start "QUE" "https://www.que.com" 
    ping 1.1.1.1 -n 1 -w 1000 > nul
    start "Netflix" "http://Netflix.com"
    start "Disney+" "http://disneyplus.com" 
    start "AmazonVideo" "https://www.amazon.com"
    start "Acknowledgement" "http://acknowledgement.com" 
    

    The above batch files is designed for Chrome explorer. If you haven’t notice, I always go to https://Acknowledgement.com website at least once a day to read Bible Verse. And of course, check in here at https://QUE.com website to make sure everything is running smoothly.

    Below codes is for Microsoft Internet Explorer, same concept but different syntax.

    
    Set ieobj = CreateObject("InternetExplorer.Application")
    ieobj.Visible = True
    ieobj.Navigate2 "http://www.que.com"
    ieobj.Navigate2 "http://www.yehey.com", 2048
    ieobj.Navigate2 "http://www.acknowledgement.com", 2048 
    ieobj.Navigate2 "http://www.swaptoken.com", 2048   
    

    These batch files will save you 15-30 minutes a day. Cheers for now.

    More examples posted here:

    http://www.skipser.com/p/2/p/how-to-open-multiple-web-sites-with-single-click.html

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
AI Chatbot Avatar