home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / misc / 6067 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!utcsri!utgpu!attcan!telly!druid!darcy
  2. From: darcy@druid.uucp (D'Arcy J.M. Cain)
  3. Newsgroups: comp.os.msdos.misc
  4. Subject: Re: echo >> gives erroneous results
  5. Message-ID: <1992Nov8.215533.9294@druid.uucp>
  6. Date: 8 Nov 92 21:55:33 GMT
  7. References: <1992Oct23.225646.6288@rei.com> <1992Nov6.122053.1@sc2a.unige.ch> <1992Nov7.033213.8198@umr.edu>
  8. Organization: D'Arcy Cain Consulting
  9. Lines: 24
  10.  
  11. mcastle@mcs213d.cs.umr.edu (Michael R Castle) writes:
  12. >If you just want to get rid of ^Z for any other reason, try:
  13. >
  14. >type autoexec.bat > autoexec.tmp
  15. >del autoexec.bat
  16. >ren autoexec.tmp *.bat
  17.  
  18. May I suggest:
  19.  
  20. copy autoexec.bat autoexec.tmp
  21. type autoexec.tmp > autoexec.bat
  22. del autoexec.tmp
  23.  
  24. This way, except while the second command is actually running, you always
  25. have a valid autoexec.bat.  If the system goes down at the wrong time it
  26. won't be a disaster but it will be inconvenient.  My way you can always
  27. start over from the beginning as long as each command completes whereas
  28. the first way it depends on where you are in the sequence.
  29.  
  30. -- 
  31. D'Arcy J.M. Cain (darcy@druid.com)  |
  32. D'Arcy Cain Consulting              |   There's no government
  33. Toronto, Ontario, Canada            |   like no government!
  34. +1 416 424 2871          DoD#0082   |
  35.