What's new

Program that shuts down on timer

  • Thread starter xKNiiVES
  • Start date
  • Views 312
X

xKNiiVES

Enthusiast
Messages
590
Reaction score
88
Points
95
Sin$
0
i want to make a program that shuts down my computer after two hours without any use. it has to run in the background, like AIM does.

can anyone help me get started?
 
T

Thilo

Contributor
Messages
2,774
Reaction score
1,237
Points
375
Sin$
0
ummmm.

Yeah.

This should work, off the top of my head. Copy one of the screensaver to your desktop, and replace it with a bat file that was compiled into an exe file.
This is the bat file:

shutdown -s -t 7200

Now put that in the windows folder where your screensavers are....

And that should do it. Windows will run the screensaver not knowing it is a different executable, which is a bat file converted...


Hit da thx but0n noa.
 
Top Bottom
Login
Register