home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8909 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.7 KB  |  43 lines

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