Article View: comp.os.msdos.programmer
Article #7488Re: DISABLING CTRL-C in BAT FILES...
From: fred jarvis
Date: Wed, 06 Jan 1993 08:56
Date: Wed, 06 Jan 1993 08:56
12 lines
1091 bytes
1091 bytes
> > >Does anyone know of ANY way that would disable Ctrl-C &/or Ctrl-Break in > > >a BAT file. I have to shell to dos from a database app. (Paradox) to run > > >a BAT file and if user hits Ctrl-C during BAT file processing, every thing > > >gets ruined. I have to catch it somehow... > > > > > >Thanks very much. > > PC Magazine has an old utility CTRLLOCK which temporarily disables the control key. It is in the book PC Magazine DOS Power Tools (FIRST edition, not the newer one) and on ZiffNet. I'm sure it or something similar is readily available on many BBS's. I don't know where it is on USENET.
Technical Details
Message-ID:
<7H7XwB1w165w@coyote.datalog.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!noao!coyote!bbsReferences:
<1993Jan4.235629.6535@actrix.gen.nz>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc,comp.os.os2.misc Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!asuvax!ncar!noao!coyote!bbs From: ferdie@coyote.datalog.com (fred jarvis) Subject: Re: DISABLING CTRL-C in BAT FILES... Message-ID: <7H7XwB1w165w@coyote.datalog.com> Sender: bbs@coyote.datalog.com (Waffle System) Organization: Datalog Consulting, Tucson, AZ References: <1993Jan4.235629.6535@actrix.gen.nz> Date: Wed, 6 Jan 93 08:56:34 GMT Lines: 12