DirChange

Changes the current directory. Can also log a new drive.

Syntax:

DirChange ([d:]path)

Parameters:

(s)[d:] path the desired directory name with optional drive.

Returns:

(i) @TRUE if directory was changed; @FALSE if path could not be found.

Use this function to change the current working directory to another directory, either on the same or a different disk drive.

Example:


DirChange("c:\")
a = AskFiletext("Your CONFIG.SYS", "config.sys", @UNSORTED, @SINGLE, @FALSE)
Message("Contents of selected line, if any", a)
See Also:

DirExist, DirGet, DirHome, LogDisk