ChDir Statement

  1. ChDir pathname

Changes the default directory

  1. Pathname: [drive:] [ \ ] dir[\dir]...

The parameter pathname is a string limited to fewer then 128 characters. The drive parameter is optional. The dir parameter is a directory name. ChDir changes the default directory on the current drive, if the drive is omitted.

Related Topics:

CurDir, CurDir$, ChDrive, Dir, Dir$, MkDir, RmDir

More:

Example - ChDir Statement