If on C# editor, use the following string:
selenium = new DefaultSelenium("localhost", 4444, "*firefox C:\\Program Files\\firefox.exe", "http://www.google.com/");
Note: use an extra back slash before Program Files and firefox.exe, since a single backslash becomes an unrecognized escape sequence.