home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / bbs / waffle / 5715 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  2.3 KB

  1. Path: sparky!uunet!gatech!emory!gwinnett!dithots!gwp
  2. From: gwp@dithots.Gwinnett.COM (George W. Pogue)
  3. Newsgroups: comp.bbs.waffle
  4. Subject: Re: DOS command /f parameter
  5. Message-ID: <eg4JwB2w165w@dithots.Gwinnett.COM>
  6. Date: Tue, 29 Dec 92 13:20:13 EST
  7. References: <5wNBwB1w165w@visavis.cam.org>
  8. Reply-To: gwp@dithots.Gwinnett.COM (George W. Pogue)
  9. Organization: Deep In The Heart Of The South!
  10. Lines: 57
  11.  
  12. abolins@visavis.cam.org (August Abolins) writes:
  13.  
  14. > mlewis@wplace (Mark Lewis) writes:
  15. > I tried it from the command line and it works the way you describe:
  16. > D:\SPOOL\NYONGWA>dir a:
  17. > Not ready reading drive A
  18. > Abort, Retry, Fail?Volume in drive A has no label
  19. > Not ready reading drive A
  20. > Abort, Retry, Fail?Fail on INT 24
  21. > Time: 12:01:a.m.
  22. > D:\SPOOL\NYONGWA>
  23. > But I tried the following .BAT file (from E: drive) and I was NOT able
  24. > to recover after at the first command.
  25. >         dir a:
  26. >         a:
  27. >         echo Heeelp!
  28.  
  29. The /F option DOES NOT abort a batch file, it simply answers FAIL to an
  30. 'ABORT, RETRY, FAIL' message. That's all. Everything else works as it 
  31. always has in DOS.
  32.  
  33. I mentioned this before, but I use it this way:
  34.  
  35. if exist a:*.* a:
  36.  
  37. If there is nothing in A: then the a:*.* will FAIL and no switch to A:
  38. will occur. Of course, this assumes that you don't put a BLANK diskette
  39. in A:, but it's better than no check at all.
  40.  
  41. > > > break=ON
  42. > > 
  43. > > and why have BREAK=ON... it slows down procesing unnecessarily and 
  44. > > should not be needed unless absolutely necessary, IMHO..
  45. > I understood that it would allow me to get ^C and ^break control in case
  46. > I need to stop a running program.
  47.  
  48. This command only allows EXTENDED CTRL-C checking in DOS. Normally, this
  49. key sequenced is checked for only during keyboard I/O or screen I/O. With
  50. this command active (BREAK=ON), the key sequence is checked for also when
  51. disk I/O occurs. If it is detected during a DISK I/O, it will not be 
  52. carried out until the next keyboard or screen I/O (keeps from corrupting
  53. data).
  54.  
  55. -----------------------------------------------------------------------------
  56.  Buy American! The Job You Save Could Be Your Own! Sell American Too!
  57.  gwp@dithots.Gwinnett.COM (George W. Pogue)  Deep In The Heart Of The South!
  58.  User Calls: 835      User Posts: 802    Waffle Version: 1.65
  59. -----------------------------------------------------------------------------
  60.