Dec 052017
Windows batch file utility.
File CATCH.ZIP from The Programmer’s Corner in
Category Windows 3.X Files
Windows batch file utility.
File Name File Size Zip Size Zip Type
CATCH.EXE 72704 19349 deflated
HELPBOX.EXE 52736 11107 deflated
NOTEPAD.WBF 118 85 deflated
README.DOC 6303 2513 deflated
TRIAL.WBF 92 80 deflated

Download File CATCH.ZIP Here

Contents of the README.DOC file

Catch Version 1.00
Written by Sean Batten 1992

Catch is a batch programming language for Windows. It is easy to use whilst
being powerful in execution. It allows you to automate many of the mundane
tasks involved in working in the Windows environment.

Catch is also, by its nature, upgradeable. It provides you with the ability
to use functions provided by third party suppliers as if they were standard
Catch functions, thus eliminating the need to wait for Catch updates.

There are 2 main file which make up Catch. They are:

CATCH.EXE 72704 bytes
HELPBOX.EXE52736 bytes

CATCH.EXE is the batch file interpreter.
HELPBOX.EXE if the help file which contains a list
of instructions for Catch.

There is also a series of .WBF files which provide examples of some of the
features of Catch.

This file has eight sections:

1. Installing Catch
2. Running a .WBF file
3. Changing a .WBF file's icon
4. Creating you own .WBF file
5. Creating your own Catch libraries
7. Thanks
8. Registering

Installing Catch

To install Catch creata a directory on your disk, for example, C:\CATCH
and copy the file CATCH.EXE, HELPBOX.EXE and the .WBF example files into
this directory.

From Windows create a new program group and add Catch and Helpbox to the

Next double click on Catch and a dialog box will appear.
Select 'Set up Catch'. Another dialog box will appear. Select
'Set up Catch' and the necessary changes will be made to your WIN.INI file
so that you can execute a .WBF by just double clicking on it.

HELPBOX contains a description of all the commands available in the
Catch language, along with various examples.

Running a .WBF file

Once Catch is set up you are ready to run .WBF files. You can run a .WBF by
double clicking on its icon in Program Manager or by double clicking on its
name in File Manager.

To begin with we'll run a .WBF file from the File Manager. Load up the File
Manager and move to the directory into which you copied Catch.

There will appear a list on .WBF files. Double click on NOTEPAD.WBF This
file allows you to run Notepad in a variety of ways and will give you
a feel of some of the tasks you can carry out with Catch.

To run a .WBF file from Program Manager you must first add it to a program
group. Move to the Catch group and then select File and New from the Program
Manager menu bar. Click on Program Item and then OK. Move to the box which
says Command Line and enter the fully qualified filename of the .WBF file.
For example, if you wanted to add NOTEPAD.WBF and it is in a directory
called C:\CATCH you would type C:\CATCH\NOTEPAD.WBF as the command line.

Next click on OK and the .WBF file will be added to the program group.

Changing a .WBF file's icon

If you grow board with the icon which Program Manager assigns to your
.WBF file you can easily change it. Catch comes with 5 pre-defined icon
which you can select. To change a .WBF file's icon do the following:

1. Click once on the .WBF icon.

2. Select File followed by Properties from the Program Manager menu.

3. Click on Change Icon.

4. Change the filename to the fully qualified filename of Catch.
For example, if Catch in in a directory called C:\CATCH set filename

5. Click on View Next until the icon you want appears.

6. Click OK.

7. Click OK.

The icon is now changed.

Creating you own .WBF file

To create your own .WBF file simply load up any suitable text editor and
type in the instructions.

When you save the file it MUST have the extension .WBF .Catch does not
recognise any files without this extension.

Creating your own Catch libraries

As you may have already discovered, Catch allows you to write your own
functions which can be accessed using the UseLib function. For example,
if you have a library called CATCH.DLL which contains a function called
Lower which converts a string to lower case and a function called StrLen
which returns a string containing the number of characters in a string, then
you can access these functions in the following way:

UseLib ("catch.dll")
Let name=Lower("FRED")
Let len=StrLen(name)

Catch deals with the responsibility of accessing the functions in the .DLL
along with the parameter passing and error checking at the end of the

As you can see, the benefits of being able to use seperate Catch libraries
are many. You are no longer tied to waiting for the next version of Catch in
order to get any extra functions that you may need. Third party vendors
will be able to develop their own libraries and pass them on.

In order to develop a Catch library you will need a good knowledge of C and
Windows programming. Catch requires certain functions to be present in you
.DLL in order to determine the number of parameters a functions takes, and
also to determine if an error has occured.

If you wish to develop Catch libraries then e-mail me at :

[email protected]


If you have any comments on Catch, or any requests for functions you would
like to see in the next version of Catch then please write to me at the
following address:

Sean Batten
112 Grand Avenue
Kingston Upon Thames


Thanks to the following people who helped make Catch possible:

Melissa, for putting up with me all the time I was sat at the

Sharon, for making the worlds worst cup of tea!!

Borland, for Turbo C++ for Windows.

And greetings to:

Nick, James, Pete, the 2 Rachels, Simon and Raymond Chan,
and all those I know.


If you plan to use Catch on a regular basis then fine. However, as I'm
an impoverished student it would be jolly descent of you to make some
sort of donation, say 10 pounds. If you want to donate some money, and I
can't think why you wouldn't, then write to

Sean Batten
112 Grand Avenue
Kingston Upon Thames

 December 5, 2017  Add comments

Leave a Reply