Articles

Cant get it to stop showing the dos

March 7, 2008 at 12:48:53
Specs: XP SP2, 2.5GHz, 512mb

Ok, now this seems like a really simple problem but im really stumpped. I have the following:

"@echo off
rasdial [connection] [username][password]
START "" /wait "c:\program files\mozilla firefox\firefox.exe"
rasdial [connection] /disconnect"

Now this bascially, dials my broadband, starts firefox. Then when firefox is closed it disconnects.

My problem is, that when I run the batch file it comes up with what the rasdial is doing and i dont want this, i want it to run in the back ground, any ideas?

regards

Strick80


See More: Cant get it to stop showing the dos

Report •


#1
March 8, 2008 at 06:26:18

Not sure why you don't want to be connected continuously, but here's the answer. You can't run a batch file without creating a console window. What you can do is create a shortcut to the batch file in Explorer and set the shortcut to run in a minimized window.

Report •

#2
March 8, 2008 at 07:00:48

I would have it connected the whole time but I don't know how to do that :S. and that's for that. I guess i could do that in the mean time. If I find an answer ill post it

regards

Strick80


Report •

#3
March 8, 2008 at 09:11:23

I see. I hadn't heard of rasdial.exe before, and took your word that it's for connecting to broadband, but I've just looked it up in the manuals and it seems to be for dial-up networking.

If you are using dial-up networking rather than broadband, I would expect Firefox to have a connection setting in the Preferences dialog to tell it to dial the connection when starting up.

I hope you're not paying lots of money for a fast broadband connection and using dial-up instead, thinking it's broadband.


Report •

Related Solutions

#4
March 8, 2008 at 13:46:44

That's my problem, with the newer versions on Firefox, that function is not available :(.

I'm using rasdial because its the only connection tool I know that you can use with command prompt with out downloading a tool.

Yeah I have broadband lol, up to 8MB/ps. most of the time this is at 6mb/ps though. I don't know why it has a dial up connection, just does, probably something to do with my services. Now don't get me started there lol

regards

Strick80


Report •


Ask Question