Handy? (No ending time set) |
yes |
|
55% |
[ 5 ] |
maybe |
|
0% |
[ 0 ] |
no |
|
0% |
[ 0 ] |
has too much evil potential ;P |
|
44% |
[ 4 ] |
|
Total Votes : 9 |
|
Author |
Message |
the_short1
|
Posted: Tue Jun 07, 2005 4:52 pm Post subject: Handy: Automatic Shutdown At Custom Time *ADDED WinXP! |
|
|
First off: this is not to be done for malicious uses
Second: i KNOW this works for win95,Win98se,winxp.. but NOT WinNT,
Third: Only works if your system clock is ACCURATE
ok now that thats outa the way, here you go.. a program to automatically shutdown ur computer at the time your specify, handy if your downloading something during the night thats going to take say 2more hours, but dont want PC on ALL night, or in my case, shut down my PC at 2:45 pm so when my step mom comes home around that time and uses family pc, im not stealing ALL THE BANDWIDTH downloading torrents.. some not wanting her to see hint hint .. if she chose to close them on my pc ... yea only took me 5minutes.. so if i got anything wrong.. just holer..
excutable: http://members.shaw.ca/short1_skateboarding/CustomShutdown.exe
source: http://members.shaw.ca/short1_skateboarding/CustomShutdown.t
As always.. feeel free to comment.**** IF YOU KNOW THE SHUTDOWN CODE FOR ANY OS THAT DONT WORK, Please Post it !
you can also make the shutdown code (from the source code) into a shortcut in start menu and assign a hot key for it like Ctrl+Alt+F4 for a fast shutdown
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Delos

|
Posted: Tue Jun 07, 2005 6:42 pm Post subject: (No subject) |
|
|
Question, what is this all about?
Also, I notice you've included a 15 second delay, but wouldn't this programme hog a *huge* amount of memory? Kind of sad, but i guess that's Turing for you.
|
|
|
|
|
 |
RaPsCaLLioN

|
Posted: Tue Jun 07, 2005 9:01 pm Post subject: (No subject) |
|
|
WinXP shutdowns:
Rename file to "command.exe" and...
"\command.exe" -shutdown
"\command.exe" -restart
"\command.exe" -logoff
OR
WinXP has a built-in shutdown command. Open a cmd window and type "shutdown /?" for info on it.
Description: |
|
 Download |
Filename: |
command.zip |
Filesize: |
17 KB |
Downloaded: |
188 Time(s) |
|
|
|
|
|
 |
[Gandalf]

|
Posted: Tue Jun 07, 2005 9:07 pm Post subject: (No subject) |
|
|
The archive is damaged, try recreating it and then uploading it.
|
|
|
|
|
 |
RaPsCaLLioN

|
Posted: Tue Jun 07, 2005 9:09 pm Post subject: (No subject) |
|
|
[Gandalf] wrote: The archive is damaged, try recreating it and then uploading it.
It's not actually a ZIP file. Site doesn't allow .EXE format. Just rename to have .exe at the end.
|
|
|
|
|
 |
the_short1
|
Posted: Tue Jun 07, 2005 10:28 pm Post subject: (No subject) |
|
|
thanks rapscallion! .. i will add question: whats os: win98 or winxp to start .
delos.. i put the delay so it wouln;t update every.0001 second to use less cpu and ram ...hah.... and i zeros..well i musta held the 0 key down acident..
|
|
|
|
|
 |
RaPsCaLLioN

|
Posted: Tue Jun 07, 2005 10:46 pm Post subject: (No subject) |
|
|
the_short1 wrote: thanks rapscallion! .. i will add question: whats os: win98 or winxp to start  .
I don't understand the question.
|
|
|
|
|
 |
[Gandalf]

|
Posted: Tue Jun 07, 2005 11:05 pm Post subject: (No subject) |
|
|
It means, which OS are you using so that this program will work?
Thanks, it's pretty good.
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
RaPsCaLLioN

|
Posted: Tue Jun 07, 2005 11:12 pm Post subject: (No subject) |
|
|
XP
but you have to run with those commands... just running the file will do nothing.
open run - browse to where this file is save and select. add '-restart' and then click OK as an example.
|
|
|
|
|
 |
ZeroPaladn
|
Posted: Wed Jun 08, 2005 8:58 am Post subject: (No subject) |
|
|
Very useful... too bad im not allowed to dl it, or my dad would kill me
|
|
|
|
|
 |
the_short1
|
Posted: Wed Jun 08, 2005 1:11 pm Post subject: (No subject) |
|
|
i was thinking Sys.Exec ("c:\\windows\\system32\\command.exe -shutdown") ill try it at home cant use at school **edit**command.exe doesn;t exist.. cmd.exe does tho.. odd.
and i thought really evil idea.just came to me...modify to check date at startup of program, save into variable.. . loop.. every 10 seconds check to see if current date + time is 5minutes more then time of program start...
make this program start with windows.. ..you do the math.. start computer.. 5minutes later.. shutsdown.. agian and again.. . ..soo evil....
wait this might not be the place to be saying that as their are many noobs who might do that at shool... ...well 10 days left of class.. no worries
|
|
|
|
|
 |
RaPsCaLLioN

|
Posted: Wed Jun 08, 2005 2:41 pm Post subject: (No subject) |
|
|
This command.exe is not from WinXP. It's from a utility program called TweakXP.
WinXP has it's own built-in shutdown - open a run window and type "shutdown /?" for info on WinXP built-in command.
|
|
|
|
|
 |
the_short1
|
Posted: Wed Jun 08, 2005 2:59 pm Post subject: (No subject) |
|
|
well now you tell me its tweak.. ive heard of that program but i dont use it .. i can do all the tweaks myself :d hehe.. cool found it, shutdown.exe -s
|
|
|
|
|
 |
[Gandalf]

|
Posted: Wed Jun 08, 2005 3:11 pm Post subject: (No subject) |
|
|
Well, I have already added this to my ever increasing "potentially evil" programs folder...
That idea would not work, since once the computer shuts down the program ends and it can't be restarted.
But wait, I have an idea! You could somehow use the program, so that on first use it would create a file in the startup folder leading to it. Then you would have a perfect loop . Unless the person has another OS, that is.
|
|
|
|
|
 |
MysticVegeta

|
Posted: Wed Jun 08, 2005 3:16 pm Post subject: (No subject) |
|
|
MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\***
*** = add your new key for startup
But it can we avoided by running Windows in Safe Mode and removing it
|
|
|
|
|
 |
|