Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rebooting the computer?
#1
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
Reply
#2
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)
Reply
#3
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.
*****
Reply
#4
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)
Reply
#5
The FAQ is handy for this sort of thing; why don't you check it out sometime? Big Grin

http://faq.qbasicnews.com/?blast=RebootPc
Reply
#6
In Win 2K, XP you may want to shell to shutdown.exe:

http://www.budja.com/shutdown/
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#7
Thanx :bounce: :rotfl: :barf: Tongue
~~~~~~~~~~~~~~~~~~~~~~~~~~

I love Quick Basic better then Python...

And Python is new.........

Oh yea catch ARPGME
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)