Automatic Download

sukesh1090

Adam young
Hello. I have BSNL 500c plan(Night Unlimited). So i want the procedure to start computer automatically, start download automatically in utorrent and so on. I'm not able to find that thread. So please kindly anyone post the url, or tell the procedure in brief. Thank You in advance! :)
 

hansraj

In the zone
I dont know where the link is, but here is the info how to do it.

1. For enabling the automatic start of your pc, go to the bios options and find the option of RTC alarm or similar under the power options. Set the time as 0210 for starting the computer at that time. Different company mobos have different label/name for the same feature but you should be able to find it under power options definitely.

2. For internet connection, make a connect.bat file with this code given below

@echo off
rasdial connection-name username password

In the above two lines of codes, the "connection-name" should be the name of your internet connection like BSNL or Broadband or Internet. Preferably keep it as single word name and not like "BSNL Broadband" which has space in between, that complicates the command. "username" is your username which is entered in your dial up box and "Password" is your internet password.

Execution of this batch file by double clicking it will connect you to internet.

3. For executing this file at a specified time go to windows task scheduler and set a time of 0215 AM for executing this file. Now your PC will get connected to net.

4. Similarly create another bat file as disconnect.bat with follwing command within:

@echo off
RasDial /DISCONNECT

Run this batch file at 0750 AM so that you can have your pc disconnected at that time. Running this file has to be programmed in task scheduler again at the desired time.

5. To hibernate the pc , create yet another bat command file with name hiber.bat

@echo off
rundll32 powrprof.dll,SetSuspendState

and run this bat file at 0755 AM through task scheduler again.
For shutting down and not hibernating make a file shut.bat with

@echo off
shutdown -s -f

again schedule this file for running at 0755 AM.

But I would suggest always do a hibernation. Its power efficient and quick.

6. If you want to stop a program/application then again make a kill.bat and add following command

@echo off
TASKKILL/F /IM application-name.exe

where application-name is the name of application as it shows up in task manager when the program is running... i.e for internet explorer its iexplorer.exe.

I hope this should help you.

PS: If you dont know how to create a bat file then just open notepad, copy the codes given above for various commands and while saving, instead of saving the file as *.txt file select all files options and save the file as whatever.bat file.
 
Top Bottom