Dec 122017
This little goody keeps people from breaking out of batch files.
File BREAK12.ZIP from The Programmer’s Corner in
Category Batch Files
This little goody keeps people from breaking out of batch files.
File Name File Size Zip Size Zip Type
BREAK.DOC 6660 2560 deflated
BREAK.SYS 709 601 deflated

Download File BREAK12.ZIP Here

Contents of the BREAK.DOC file

BREAK.SYS Version 1.2

Copyright 1992 by Marc Perkel - All Rights Reserved

This little goody keeps people from breaking out of batch files. Works
great for 0k menu systems like MarxMenu.

Unlike all the other similar programs this one is smart. It only kills
CTRL-C if your in COMMAND.COM but allows your applications to see
CTRL-C. And, it only uses about 400 bytes of ram.

All you have to do is add a line to your CONFIG.SYS file:


If your using BREAK.SYS with QEMM or other memory manager, load the
memory manager first.

BREAK.SYS can be enabled or disabled by using the BREAK ON and BREAK OFF
commands either from the command line or from batch files.

Advanced Features:

Although BREAK.SYS is better than DOS, it isn't perfect. There are still
situations where you can break out of batch files. If it is important to
not break out then you can use it as follows:


Using it this way the CTRL-C key is disabled completely. Your
application software will not get any CTRL-C.

BREAK.SYS has another switch /T that works like /C except that once you
execute BREAK ON then it returns to smart CTRL-C handling. The idea here
is that more often you need bullet proof protection while the system is
booting up, but after going to the main menu you can switch to smart
protection. At the end of your bootup batch files add the lines:


This will switch BREAK.SYS into smart mode checking.

Another trick to help keep people from breaking out to the command line
is setting the shell statement in the CONFIG.SYS file as follows:


With this command, if they get out of the batch file it locks the
system up. In some cases this is better than letting the user get access
to the command line.

BREAK.SYS has another feature that makes BREAK ON work better. If you
use it like this:


Then when you run BREAK ON and the users presses CTRL-\ it will break
you out of programs you might otherwise be stuck in. This feature is
great for software developers to use when testing code.

This program is cheap too. Only $25 / File Server or $250 unlimited.

Computer Tyme also has a program called COMSP which prevents users from
shelling to dos from within an application.

This program is included free with the Network Survival Kit.

Other Computer Tyme Software:

The Computer Tyme Dos ToolBox... Makes DOS easier for the novice,
more powerful for the professional.

DIRECTORY MASTER is a powerful hard disk managment utility. It
brings up your hard disk files and allows you to mark selected
files so you can copy them, delete them, or move them. It also
allows you to rename files, change dates, and change attributes.
You can also run programs or set up your function keys to run
programs on selected files.

DOLIST makes being at DOS easier. It gives you full line editing,
like a word processor, for your commands. It also stores commands
so that you can re-execute them. It remembers subdirectories and
allows you to go back to them by pressing the TAB key. It offers
programmable function keys, DOS extensions, multiple execution,
and many more features you have got to have.

PICK DIRECTORY allows you to move through the directory system by
displaying a graphic tree and letting you use your arrow keys to
move around. It also lets you create, delete, rename, and hide

MARXTSR is a set of memory and TSR management utilities that let
you load and unload TSRs (Terminate and stay resident programs)
from memory. Utilities to list menory allocation and turn TSR's
on and off.

And many more ... Also includes is D, a fancy directory listing
program; WHEREIS, for finding stuff on you hard disk, SORT, MOVE,
FIND, FREE, PIPEDIR, VERSION, and many more.

The Dos Toolbox sells for $59.95.


We are also selling QEdit from Semware. QEdit is a professional
editor from Semware.

1-800-548-5353 Order Line
1-417-866-1222 Voice Line
1-417-866-1665 BBS Data line * 1200/2400 * 8N1 * ANSI or VT100

MarxMenu comes with MarxEdit and MARXTSR manager and a few goodies out of
the DOS ToolBox. The Network Survival Kit is a network version of almost
every utility I've ever written. It's sold on a per fileserver basis.

____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------


Make Check Computer Tyme Order Form 2.36
Payable To: 411 North Sherman Suite 300
Springfield Mo. 65802
(417) 866-1222 (800) 548-5353

Please send me Computer Tyme Software.


Name: ________________________________________________

Address: ________________________________________________

City/St/Zip: ________________________________________________

Phone: ________________________________________________

Computer: ________________________________________________

Got From: ________________________________________________

Comments: ________________________________________________


Single User Version:

___ Enclosed is $59.95 for MarxMenu.

___ Enclosed is $59.95 for the DOS ToolBox.

___ Enclosed is $99.95 for MarxMenu, the Dos ToolBox and DM3.

Network Version (1 per file server):

___ Enclosed is $495 for Network Survival Kit.

___ Add $3.00 for Shipping and Handling.

___ I need 3 1/2 Inch Media.

Credit Card Number: _______________ Expiration Date: ________

Signature: __________________________________________________

Master Card __ Visa __ Discover __

* We do not take American Express *


 December 12, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>