First Step:
Create two batch files
1)
Open notepad type the following:
rasdial [connection name] [user name] [password]
for example
rasdial broadband myusername mypassword
save the above file as connect.bat
2)
Open notepad type the following
rasdial [connection name] /disconnect
for example
rasdial broadband /disconnect
save the above file as disconnect.bat
Second Step:
1. Go to START>ACCESSORIES>SYSTEM TOOLS>SCHEDULE TASK
Schedule task wizard will start>click next
2. Click "Browse" and select "connect.bat"
3. Type the task name (anything you want) and then select "Daily".Now to configure how to run it during Night Unlimited.
Click Next.
Now set the start time to something like say....2.05 a.m.
Set Everyday from the Perform this task option right below that and start date to today's date.
Click Next
Enter your username and pass on the Next page.
Click Finish.
Dear Mr meetdilip,Thank you very much for the step by step instructions :thumbsup:
That was easy
I think earlier I myself did something wrong with the code.
Perhaps there is a much easier code to "shut down" and "wake up" the pc also ?
Best Regards,
Farmboy
PS :Actually I just now tried the disconnect and connect "one time" method which worked alright.Now I'll create more connect,disconnect batch files for "daily" BSNL broadband unlimited night time usage.
----------
I have few more queries which I hope will also be useful for other forum members:
1)In my case when I log on to BSNL broadband first my WiFi modem connects via LAN and then Dataone connects after I enter my username & password.
My question : Is there anyway to switch of the LAN modem connection(via WiFi) at a predetermined time ?Like say after 8 am I wish to switch of the WiFi modem altogether.
Is it possible ?
If so,what is the method ?
2)At what "exact times" should the disconnect,connect and then again disconnect batch files be triggered so that the night time usage(2am to 8pm) is 0 ?
3)What is the code to "shut down" and "wake up" the pc ?
Any help is highly appreciated .