CD | CHDIR Command

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

CD cPath | CHDIR cPath



Specifies one of the following:

  • A drive designator

  • A drive designator with a directory

  • A child directory

  • Any of the above using MS-DOS shorthand notation ( \ or ..). When you include .. to change to the parent directory, you must include a space between CD or CHDIR and the two periods.

Expand imageRemarks

Expand imageExample

Expand imageSee Also

© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic