Posts: 65
Threads: 33
Joined: Jun 2005
Is there a command that lets me reboot the computer?
~~~~~~~~~~~~~~~~~~~~~~~~~~
I love Quick Basic better then Python...
And Python is new.........
Oh yea catch ARPGME
Posts: 500
Threads: 7
Joined: Jun 2005
Yeah there is. Try this: OUT &h64, &hfe. If Windows is running though, it should only exit the program.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Posts: 1,956
Threads: 65
Joined: Jun 2003
Years ago when everbody was running DOS, there was a program called WARMBOOT.COM which you could put into a batchfile and do a SHELL to the batchfile from your program, and it would boot the machine. I have a copy somewhere, but I don't know if it would work with DOS under Windows.
Sorry I didn't give you much to go on. I found several articles on the Internet with references to WARMBOOT.COM, but nothing about running it in DOS under Windows. You might take a look.
*****
Posts: 500
Threads: 7
Joined: Jun 2005
This might have just been my old computer, but there was an old program called "REBOOT.COM" awhile ago that was put onto boot disks when created. I was using Windows 95 at the time, so check it out. I don't think it needs to be run in pure DOS, but I'm not sure.
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Posts: 1,439
Threads: 15
Joined: Apr 2003
The FAQ is handy for this sort of thing; why don't you check it out sometime?
http://faq.qbasicnews.com/?blast=RebootPc
Posts: 6,419
Threads: 74
Joined: Mar 2002
In Win 2K, XP you may want to shell to shutdown.exe:
http://www.budja.com/shutdown/
Posts: 65
Threads: 33
Joined: Jun 2005
Thanx :bounce: :rotfl: :barf:
~~~~~~~~~~~~~~~~~~~~~~~~~~
I love Quick Basic better then Python...
And Python is new.........
Oh yea catch ARPGME