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

Thread Solved

Join Date: Feb 2005
Posts: 92
Reputation: NuGG is an unknown quantity at this point 
Solved Threads: 1
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

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

 
0
  #1
Mar 4th, 2008
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...
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 92
Reputation: NuGG is an unknown quantity at this point 
Solved Threads: 1
NuGG's Avatar
NuGG NuGG is offline Offline
Junior Poster in Training

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

 
0
  #2
Mar 25th, 2008
Originally Posted by NuGG View Post
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.
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 4
Reputation: afripino is an unknown quantity at this point 
Solved Threads: 0
afripino afripino is offline Offline
Newbie Poster

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

 
0
  #3
May 29th, 2008
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"
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC