I need to launch a URL from my application that includes quotes, like the following:
string TheURL = "http://www.google.com/search?hl=en&q=hello world \"" + "test with quotes\"";
So this will search Google for:
hello world "test with quotes"
I'm opening this in the user's default web browser by using the Process.Start command:
System.Diagnostics.Process.Start(TheURL);
However, this command fails to do anything if Firefox is set as my default browser, and it launches three separate tabs if Chrome is my default browser. Does anyone know how you can pass quotes to the Process.Start command?