CD | CHDIR Command

Example   See Also

Changes the default Visual FoxPro directory to the directory you specify.

Syntax

CD cPath | CHDIR cPath

Arguments

cPath

Specifies one of the following:

Remarks

Use CD or CHDIR to specify the default Visual FoxPro directory. Visual FoxPro searches for files in the default Visual FoxPro 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.

If you create a file and don't specify where to place it, the file is placed in the default Visual FoxPro directory.