5

Possible Duplicate:
How do I escape ampersands in batch files?

I am attempting the following, in 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 a browser, only partial (up through can=2) or what not. How can I do it?

0

2 Answers 2

5

You can use ^ to escape & in teh command line like this:

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

Try this

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"

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

I hope this helps.

2

Not the answer you're looking for? Browse other questions tagged or ask your own question.