Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!okstate.UUCP!gorgo.UUCP!ddrex From: ddrex@gorgo.UUCP Newsgroups: net.micro.pc Subject: how to trap ^C in a batch? Message-ID: <12800005@gorgo.UUCP> Date: Wed, 28-May-86 02:16:00 EDT Article-I.D.: gorgo.12800005 Posted: Wed May 28 02:16:00 1986 Date-Received: Sat, 31-May-86 06:17:35 EDT Lines: 19 Nf-ID: #N:gorgo.UUCP:12800005:000:642 Nf-From: gorgo.UUCP!ddrex May 28 01:16:00 1986 How can ^C be trapped in a .bat file to prevent a user from breaking out of it? In this situation, I'm only concerned about it being done remotely, ie, from the com port, so ^break isn't a problem (if that has any bearing). Thanks, David Drexler struct where { UUCP .... .. .. .. ihnp4!occrsh!gorgo!ddrex ARPA .... .. .. .. ihnp4!occrsh!gorgo!ddrex@berkeley.arpa USnail .. .. .. .. POB 1214 Bethany OK 73008 AT&T .... .. .. .. [405] 942-7852 FidoNet . .. .. .. Sysop, 147/1 [405] 728-2463 2400/1200/300 /* the bbs for programmers & collectors of source code */ /* not a fido gateway! */ } David_Drexler;