Jump to content

Batch file for connecting to internet


Recommended Posts

Posted

hi everyone...,

Can anyone help me out as i want to create a batch file to be used by scheduler to connect to the internet automatically without any intervention at a given time...I tried to use the shortcut for the connection in the scheduler but it didn't work...

thanks.


Posted (edited)

Can you describe a bit more.

You could make a batch file like this if you mean to open browser window to sertain site.

@ECHO OFF
"C:\Program Files\Internet Explorer\iexplore.exe" www.google.com
Exit

Edited by geezery
Posted

you can configure xp to auto dial by checking the box to automatically connect in inet options. this way anytime an app requests internet access xp will auto connect you. if you are using ics there's a setting to auto connect the host when a client wants to surf the web.

-gosh

Posted (edited)

thanks and hi again...

but just to be a little more specific i would like to connect the internet at a specific time by a batch file......i have many programs that want to access the internet all the time....so cant use the other option of letting it connect automatically....

'coz if it connects at any time it surely will eat up the MB's and i don't want that to happen. by the way my pc is turned on 14 to 18 hours a day....so thats why i want to use scheduler...

i did some searching before too and ended up with the commands RASDIAL and RASPHONE....but cant get the parameters work out for the unattended connection process.....so thats why.....

hope this info is enough...

thanks

Edited by hotmins

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...