home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!mcsun!fuug!mits!kennu
- From: kennu@mits.mdata.fi (Kenneth Falck)
- Subject: Re: Novice question: how to boot from a bat file?
- Message-ID: <1992Aug31.183957.1391@mits.mdata.fi>
- Organization: Microdata Oy, Helsinki, Finland
- References: <1992Aug30.033912.729@u.washington.edu> <adgn1#p.messina@netcom.com> <Bttt82.53K@NCoast.ORG>
- Date: Mon, 31 Aug 1992 18:39:57 GMT
- Lines: 32
-
- In article <Bttt82.53K@NCoast.ORG> brown@NCoast.ORG (Stan Brown) writes:
- >>>My problem is I don't know how to emulate the cntry-al-delete boot that
- >>>the user would normally type in to have these new files take effect.
- >>
- >>Since it seems to be a twice-a-week question, here is a uuencoded program
- >>that will do it:
- >
- >[code deleted]
- >
- >and, if you're running SMARTDRV or other write-behind disk caches, it
- >stands an excellent chance of trashing your hard disk.
-
- Of course you can trash your hard disk if you boot prematurely,
- but it has nothing to do with whether you do it by jumping
- to FFFF:0000 or pressing Ctrl-Alt-Del or the Reset button.
-
- (Sure some caches re-vector IRQ1 to capture C-A-D but that's
- not the point. I can hardly think someone would write a batch
- file or program that reboots without asking for a keypress
- first, since any programmer should know background-write caches
- exists, and as a matter of fact I don't think even straight DOS
- will save modified files instantly.)
-
- >--
- >Stan Brown, Oak Road Systems brown@Ncoast.ORG
- >"Self-esteem, n. An erroneous appraisement."
- >"Self-evident, adj. Evident to one's self and to nobody else."
- > --Ambrose Bierce
-
- --
- kennu@mits.mdata.fi
-
-