943,923 Members | Top Members by Rank

Ad:
Mar 4th, 2008
0

.Bat file - use of "&" in iexplore cmd??...

Expand Post »
I have created a bat file to launch 3 browser windows with different URL's, to be run at system start up...

start iexplore http://www.domain.com/dyna.php?domain=ufbsound&tld=co.nr&pass=abcd&dir=ufbsound
start iexplore http://www.domain.com/dyna.php?domain=ufblive&tld=co.nr&pass=abcd&dir=ufblive
start iexplore http://www.domain.com/dyna.php?domain=ufbftp&tld=co.nr&pass=abcd&dir=ufbftp

The URL's contain several "&" so the script opens the browser windows with the URL's up to the point where the "&" is used- so half the address is missing. e.g.

Instead of :
http://www.domain.com/dyna.php?domai...d&dir=ufbsound

It would open :
http://www.domain.com/dyna.php?domain=ufbsound


Is there any way to get round this so that the script will open the full URL? Perhaps an abbreviation of "&" that cmd can understand? Or perhaps even another method someone can recommend...

Thanks for your help.

P.S. Sorry if this thread is in wrong place - wasnt sure where to put it...
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005
Mar 25th, 2008
0

Re: .Bat file - use of "&" in iexplore cmd??...

Click to Expand / Collapse  Quote originally posted by NuGG ...
Is there any way to get round this so that the script will open the full URL? Perhaps an abbreviation of "&" that cmd can understand? Or perhaps even another method someone can recommend...
I have made the URL'S into .URL files and have used cmd to launch the .URL files instead. - its a little slower to load but does the job.
Reputation Points: 10
Solved Threads: 1
Junior Poster
NuGG is offline Offline
110 posts
since Feb 2005
May 29th, 2008
0

Re: .Bat file - use of "&" in iexplore cmd??...

I know this was marked solved but you could just put the URL in double quotes, i.e.

start iexplore "http://www.domain.com/dyna.php?domain=ufbsound&tld=co.nr&pass=abcd&dir=ufbsound"
Reputation Points: 10
Solved Threads: 0
Newbie Poster
afripino is offline Offline
4 posts
since May 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Legacy and Other Languages Forum Timeline: help with MATLAB (i know it isn't c++)
Next Thread in Legacy and Other Languages Forum Timeline: Prolog testing values of a variable





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC