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