SET PATH TO Syntax for Folder Names with Spaces

Last reviewed: May 20, 1996
Article ID: Q113176
 The information in this article applies to:

  • Microsoft Visual FoxPro for Macintosh, version 3.0b - Microsoft FoxPro for Macintosh, version 2.5b

    The Macintosh operating system allows the use of spaces and other special characters within folder and file names. The SET PATH command, which specifies a path for file searches, requires special syntax if folder names containing spaces are used.

    If a folder in the path contains a space character in the name, the entire path name must be enclosed in quotation marks. Within the quotation marks, each separate folder to search should be separated by semicolons or commas as shown in the following example:

       SET PATH TO "Mac HD:FoxPro 2.5B; tutorial; goodies"
    

  • Additional reference words: vFoxMac 3.00b FoxMac 2.50b directory
    KBCategory: 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: May 20, 1996
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.