home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11793 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.8 KB

  1. Xref: sparky comp.os.msdos.programmer:11793 comp.sys.ibm.pc.misc:16322 comp.os.os2.misc:41151
  2. Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc,comp.os.os2.misc
  3. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!comp.vuw.ac.nz!actrix!Steve.Withers
  4. From: Steve.Withers@bbs.actrix.gen.nz
  5. Subject: Re: DISABLING  CTRL-C  in BAT FILES...
  6. Organization: Actrix Information Exchange
  7. Date: Mon, 4 Jan 1993 23:56:29 GMT
  8. Message-ID: <1993Jan4.235629.6535@actrix.gen.nz>
  9. References: <C01pBA.I4J@ccu.umanitoba.ca> <1i9uq6INNgj5@usenet.INS.CWRU.Edu>
  10. Sender: Steve.Withers@actrix.gen.nz (Steve Withers)
  11. Lines: 30
  12.  
  13. In article <1i9uq6INNgj5@usenet.INS.CWRU.Edu> dab6@po.CWRU.Edu (Douglas A. Bell) writes:
  14. > In a previous article, ummalik@ccu.umanitoba.ca (Ijaz Rashid Malik) says:
  15. > >
  16. > >Hi,
  17. > >Does anyone know of ANY way that would disable Ctrl-C &/or Ctrl-Break in
  18. > >a BAT file. I have to shell to dos from a database app. (Paradox) to run
  19. > >a BAT file and if user hits Ctrl-C during BAT file processing, every thing
  20. > >gets ruined. I have to catch it somehow...
  21. > >
  22. > >Thanks very much.
  23. > I have seen memory resident programs which disable the control key or
  24. > you can do something with piping the tty output to null, but I can't remember
  25. > how to do it and my dos 5 manual is being less than helpful.
  26. > -- 
  27.  
  28. As this was in the OS/2 newsgroup too, I'll tell you that in the DOS SETTINGS
  29. of any DOS session under OS/2 there is a DOS_BREAK option you can set. Simply
  30. turn it off or on for a specific DOS session.
  31.  
  32. Steve
  33.  
  34. -- 
  35. Steve Withers - Wellington, New Zealand |      
  36. Steve.Withers@bbs.actrix.gen.nz         |        Space for rent.
  37. +64 4 478 4714                          |   - cheap rates, nice location. 
  38. **** Happy user of OS/2 b2.1 ****       | 
  39.