I am trying to write a batch script that starts a google search for e.g "Sun Moon Lake" in double quotes. However, the double quotes are not appearing.
My script is as follows :
@echo off start https://www.google.com/search?q="Sun+moon+lake"
Thanks!
Try start "Window Title" https... start assumes the first "quoted string" in the parameters is a window-title. – Magoo
I would suggest, from a batch-file: @Start "" "https://www.google.com/search?q=%%22Sun+moon+lake%%22", or from cmd: Start "" "https://www.google.com/search?q=%22Sun+moon+lake%22" – Compo
The above works fine and I want to put a closure to this question.
2.1m questions
2.1m answers
60 comments
57.0k users