Condividi tramite


SET PATH Command

Specifies a path for file searches.

SET PATH TO [Path]

Parameters

  • TO [Path]
    Specifies the directories you want Visual FoxPro to search. Use commas or semicolons to separate the directories.

    Note   Visual FoxPro will not recognize a path name properly if a disk or directory name contains an exclamation point (!).

    On all FoxPro platforms, functions that return path information, such as CURDIR( ), DBF( ), and SYS(2003), use Microsoft MS-DOS path-naming conventions in their return values.

Remarks

Issue SET PATH TO without Path to restore the path to the default directory. Use SET DEFAULT to specify the default directory and CURDIR( ) to return the current default directory.

SET PATH is not scoped to the current data session; changes you make to the default path using the SET PATH command affect all data sessions.

See Also

CD | CHDIR | GETFILE( ) | LOCFILE( ) | MD | MKDIR | RD | RMDIR | SET DEFAULT | SET DATASESSION