How to Use FOXBIND.EXE

ID: Q98363

The information in this article applies to:

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 <outfile> <pattern> [<pattern_2>...<pattern_n>]

where <outfile> 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 <pattern> 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 "*" and "?". 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 "PY", use the following command:

   foxbind payroll py*.prg

The resulting procedure file would be named PAYROLL.PRG.

REFERENCES

"User's Guide," FoxBASE+ version 2.1, pages 2-19 to 2-21

Additional reference words: FoxDos 2.10 1.00 1.01 1.02 KBCategory: kbtool kbprg KBSubcategory:

Last Reviewed: April 17, 1995