writing a batch file that opens a chrome URL

looking for some help writing a batch file to use as a joke on my friend. essentially i want it to open a certain URL in chrome. then i was going to disguise it as something like svchost.exe and have it run at startup on a timer. thanks a lot!


Solution 1:

It's very simple. Just try:

start chrome https://www.google.co.in/

it will open the Google page in the Chrome browser.

If you wish to open the page in Firefox, try:

start firefox https://www.google.co.in/

Have Fun!

Solution 2:

assuming chrome is his default browser: start http://url.site.you.com/path/to/joke should open that url in his browser.