DefaultFilePath Property

Applies To    See Also

Specifies the default drive and directory used by an Application object. Available at run time.

Syntax

ApplicationObject.DefaultFilePath[ = cPath]

Settings

cPath

Specifies one of the following:

Remarks

The DefaultFilePath property is similar to SET DEFAULT.

Visual FoxPro searches for a file in the default Visual FoxPro directory. The default directory is the one from which you start Visual FoxPro. However, you can use the DefaultFilePath property to specify a different default directory. If Visual FoxPro cannot find a file in the default directory, it then searches the Visual FoxPro path if one has been specified. Use SET PATH to specify the Visual FoxPro path.