Computer Hope

Microsoft => Microsoft Windows => Windows Server => Topic started by: tarm on June 30, 2009, 01:52:37 AM

Title: Command prompt
Post by: tarm on June 30, 2009, 01:52:37 AM
I'm sorry if this is the wrong sub forum, although I'm using windows 2003, it has little to do with it.

I'm trying to open a website in the windows command prompt. Simple? Yes!
The url has a query in it, so lets use this as an example:

start mybrowser.exe www.mypage.com/searchQuery=MY-SEARCH-STRING&forum=WHERE-TO-LOOK

As you can see my url contains the sign '&', which the command prompt does not understand. Is there any way to bypass this problem, or do I have to find another solution?

My question may seem strange, and yes, indeed it is! Why not use java? Well, this is not my question. I was wondering if this was possible in the command prompt.

Thanks!
Title: Re: Command prompt
Post by: Rob Pomeroy on June 30, 2009, 03:37:56 AM
Try "%26" instead of "&".  Or put the entire URL in quotes.