Stating the obvious, when you want to navigate to your favorite website or perhaps perform an online search for general purposes, It's your web browser that's used to enter the URL or keywords, and connect thereafter. Did you know that you can also connect to any website by using a single command, without directly accessing your browser? Well, In this tutorial, I will show you how to do exactly that, natively within Windows and without using third-party tools.
One of the good things about the Windows platform, Is the number of built-In tools It entails that can be used to edit, update, modify and delete data. You can also execute programs & applications by using a single command- without having to double-click the application Itself.
If you haven't already guessed, I'm referring to the good old Command Prompt and Windows PowerShell. Both these utilities are very powerful when used In the right context, and In this article, they'll be utilized to connect to any website you like by entering a single command.
Essentially, the website of your choice will open In your default web browser. The process Is extremely simple, so without further delay, let's get this tutorial started.
Using The Command Prompt:To access the Command Prompt, open the Run menu, enter cmd and hit OK as shown below.
The Command Prompt will now open, so enter the keyword of start and then the full URL of the website you wish to navigate to. In my case, I'll (obviously!) connect to this blog, thus my command Is as follows.
When your entry looks similar to mine In the Image below, hit the Enter key on your keyboard.
As expected and as you can see, the homepage of this blog has launched In my default browser- namely Microsoft Edge. Perfect result!
Using Windows PowerShell:As with the Command Prompt, to access PowerShell, open the Run menu, enter powershell and hit OK.
The Windows PowerShell will now execute, so enter Start-Process and the full URL of the website that you want to open. In my case, I'll navigate to this blog, by using the following command.
When your console looks similar to mine below, hit Enter on your keyboard.
Naturally, I expected the homepage of this blog to launch, and It's done exactly that In my default Microsoft Edge browser. Too easy!
Final Thoughts:You may rarely have the need to constantly launch websites through the Command Prompt or PowerShell, but I've personally experienced my system Infected with malware, whereby It prevented direct execution of my browser. As such, I couldn't download tools to remove the Infection, and In this case, using PowerShell or the Command Prompt fulfilled my needs.
You could have reasons of your own, so whatever the case may be, you're now aware of the alternatives used to navigate to websites of your choice.