February 18th, 2005, 07:08 AM
Running a Batch file to Open Firefox and load a website
I want to create a batch file that will open Firefox and load up a URL in the browser when I logon to my Laptop.
I have created the task which works fine when just loading up Firefox, but when I want to open up the browser and a webpage I get an error message.
I have the following line in my batch file (assuming that the URL following the application path will load - but it doesn't ):
"C:\Program Files\Mozilla Firefox\firefox.exe http://www.skysports.com"
February 18th, 2005, 08:26 AM
Have you tried putting start at the front?
>_ My Music Blog | Losing weight @notsoheavyblog | My Tweets
Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.
February 18th, 2005, 05:50 PM
Start in front of what, the URL?
Originally Posted by jabba_29
February 18th, 2005, 07:58 PM
CD C:\Program Files\Mozilla Firefox\
start firefox.exe http://www.skysports.com
February 21st, 2005, 05:31 AM
Yeah, thats sorted it. Thanks.
Originally Posted by balamm
Here's a tricky one for ya (I think ). If I now wanted to load another page into another tab instead loading up two instances of Firefore, how would I write the command for that? I tried using the START command twice, but that just loaded up another instance of Firefox.
Last edited by Tryst; February 21st, 2005 at 07:23 AM.
Reason: Spelling Mistake
February 21st, 2005, 11:10 AM
I'm not sure you'd be able to write any code for that, but you could install an extension (such as Tabbrowser preferences) and make Firefox open new tabs by default (rather than new windows)
February 21st, 2005, 05:12 PM
I already have the tabbed extensions installed.
Oh well, its no big deal anyway.