How to open url with GET request parameters using command line in Windows

Possible duplicate:
How to avoid ampersands in batch files?

I am trying to do the following on windows:

 $ start http://code.google.com/p/mulder/downloads/detail?name=MPUI.2011-06-09.Full-Package.exe&can=2&q=MPlayer&sort=-uploaded

Unfortunately, it seems that no amount of quoting or escaping actually pulls up the full URL in the browser, but only partially (up through can = 2) and what not. How can i do this?

+3
source share
2 answers

You can use ^ to exit and on the command line as follows:

 $ start http://code.google.com/p/mulder/downloads/detail?name=MPUI.2011-06-09.Full-Package.exe^&can=26^&q=MPlayer^&sort=-uploaded
+4
source

try it

start "test" "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http://code.google.com/p/mulder/downloads/detail?name=MPUI.2011-06-09.Full-Package.exe&can=2&q=MPlayer&sort=-uploaded"

This worked for me on Windows 7. (all on one line).

Hope this helps.

+2
source

All Articles