os.Path.chDir

Changes the current working directory.

Syntax

os.Path.chDir(
   newdir STRING)
  RETURNING result INTEGER
  1. newdir is the directory to select.

Usage

Use this function to change the current working directory.

The function returns TRUE if the current directory could be successfully selected, FALSE otherwise.