FoxDoc Generator Directives for Program Files

Last reviewed: April 29, 1996
Article ID: Q97162
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SUMMARY

FoxDoc can be used to search multiple directories for program files. To do this, you must use generator directives.

MORE INFORMATION

The FoxDoc system screen contains an entry field labeled "Path for program source code." One MS-DOS path may be entered in this field. To force FoxDoc to search additional directories, the generator directive

   *#FOXDOC PRGPATH <pathname>

must be included in the program source code. The source code will view these directives as comments, but FoxDoc will execute the command.

Multiple directories require a separate generator directive for each directory. For example, if program files are located in the directories C:\APPLIC\PRGS and C:\APPLIC\PROC, the following code is appropriate:

   *#FOXDOC PRGPATH c:\applic\prgs
   *#FOXDOC PRGPATH c:\applic\proc

REFERENCES

FoxPro for Windows, "Developer's Guide," version 2.5, page D15-32 FoxPro for MS-DOS, "Developer's Guide," version 2.5, page D13-10


Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a
KBCategory: kbprg
KBSubcategory: FxtoolFoxdoc


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 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.