How to Use FOXBIND.EXE

Last reviewed: April 17, 1995
Article 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 <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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.