Microsoft KB Archive/98363

{| = How to Use FOXBIND.EXE =
 * width="100%"|

ID: Q98363

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 1.0, 1.01, and 1.02
 * Microsoft FoxBASE+ for MS-DOS, version 2.1

SUMMARY
FOXBIND.EXE is a utility that quickly and automatically gathers .PRG files into procedure files. It copies the input .PRG files, one after another, into the output file and precedes each program with an identifying comment and a procedure declaration.

MORE INFORMATION
To use FoxBind, type the following at the MS-DOS prompt

foxbind [...] where is the name of the procedure file that is to be created. If an extension is not provided for the output filename, the extension .PRG will automatically be used. If a file with the same name already exists, the programs named in the patterns are appended as procedures to the file following any existing data.

The fields represent the names of the input files that will be combined into a procedure. Each of these can be a general MS-DOS filename template and can include the wildcard characters &quot;*&quot; and &quot;?&quot;. The .PRG file extension is not assumed for the input files; therefore, the extension must be given.

For example, to combine all the programs in a payroll system into one procedure file where each program name starts with &quot;PY&quot;, use the following command:

foxbind payroll py*.prg The resulting procedure file would be named PAYROLL.PRG.