FCHGALL - Multiple File String Change Utility

FCHGALL is a DOS utility that will scan the current or designated disk
directory doing global replacments of any character strings matching an "old"
character string with a "new" character string.  Both strings must be
supplied on the command line.  Upon successful completion, the DOS return code
will be set to zero (0).  Hidden, System and Read Only files are ignored.

The FCHGALL.zip file, after being uncompressed with PKUNZIP, should contain
FCHGALL.exe, FCHGALL.c and FCHGALL.txt files.  If you don't have PKUNZIP,
you probably won't be reading this.  However, PKZIP and PKUNZIP are both
readily available from CompuServe and also the Internet.

The command line syntax is: FCHGALL [filespec] "old string" "new string", where
filespec is optional and may contain the DOS wildcards, "*" and "?".  If either
of the strings contains imbedded blanks, it should be enclosed in double
quotes.

If you enter FCHGALL on the command line with no parameters or too few
parameters, the operating instructions will be displayed on the screen and the
DOS return code will be set to one (1).

Please note that FCHGALL will make changes without prompting for confirmation.
If you're wary of the damage that could do, it might be a good idea to create
a temporary directory and copy to it the files you wish to scan.  The date and
time last modified will be changed on any file that gets changed by FCHGALL.
You could then review those files that have changed to make sure the changes
are what you expected.  Copy back only those files that have been acceptably
changed.

FCHGALL.exe is freeware.  I wrote FCHGALL myself when the situation arose where
I needed to make the same change to all the files in a directory. This seemed
like an easier way then manually changing each file with a text editor.

FCHGALL is written in C for Borland's v1.0 of Turboc C.  As far as I know it
will run under any version of DOS that's at least version 2.0.  It's a
relatively simple program utilizing the BIOS 0x10 interrupt for screen display
and cursor manipulation and the findfirst/findnext routines to locate the
files to be changed.  The normal fopen, fread, fwrite and fclose are used to
process the files.

I've provided the source code, if anyone wishes to make FCHGALL more
sophisticated.  You might wish to change it to prompt you each time before
changing anything.

Copyright (c) Warren A. Smethurst
73657,2447 CompuServe - July 9, 1995
