-
-
Save EvansWinner/b1a2e6edd1ec862c8b5f45946a01962b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Example: | |
:: > wsearch.bat foo bar | |
:: Opens Chrome with Google search for 'foo bar' (without the quotes) | |
:: Change variable %chrome% to match your path to Chrome if this isn't right. | |
:: Chage the %url% if you are not using the US / English language Google URL. | |
set chrome=C:\Progra~2\Google\Chrome\Application\chrome.exe | |
set url=http://www.google.com/search?q= | |
set query=%* | |
set query=%query: =+% | |
start %chrome% --new-window --start-fullscreen %url%%query% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment