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