home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / misc / 4930 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.1 KB

  1. Path: sparky!uunet!sun-barr!decwrl!bu.edu!dartvax!coos.dartmouth.edu!crow
  2. From: crow@coos.dartmouth.edu (Preston F. Crow)
  3. Newsgroups: in.pc,comp.os.msdos.misc
  4. Subject: Re: Reboot a PC from a batch file.
  5. Message-ID: <1992Aug28.232022.14579@dartvax.dartmouth.edu>
  6. Date: 28 Aug 92 23:20:22 GMT
  7. References: <Btp7FK.3qH@mentor.cc.purdue.edu> <19920828.103054.543@almaden.ibm.com>
  8. Sender: news@dartvax.dartmouth.edu (The News Manager)
  9. Organization: Dartmouth College, Hanover, NH
  10. Lines: 14
  11.  
  12. I missed the original post, but you could have your .BAT file call a .COM
  13. file and write a short program to reboot the computer.  By "short
  14. program," I mean 5 bytes.  I don't remember exactly, but I believe that
  15. all you need is to assemble "JMP FFFF:0000."  You could use debug or sid
  16. to determine what the code for that form of JMP instruction is.
  17. I think it's EA, but I'm not sure.
  18.  
  19. --PC
  20.  
  21.  
  22. --
  23.    "Everything is permissible"--but not everything is beneficial.
  24.    "Everything is permissible"--but not everything is constructive.
  25.                                                       --I Corinthians 10:23
  26.