THE CURRENT DIRECTORY BECOMES THE DIRECTORY D
ACTION
The command DIR_CHANGE D changes the current directory, which becomes the directory D. D is the absolute or relative name of the directory.
If D is a relative name, D is supposed to be a sub-directory of the current directory.
The absolute name is the entire name, related to the root of the file system (ex: "c:\temp\files\" or "c:\temp\files").
The relative name is the name of the directory related to the current directory (ex: "files").
Examples:
- the command DIR_CHANGE "c:\aaa\bbb" with an absolute name presumes that the directory c:\aaa\bbb exists,
- the command DIR_CHANGE "bbb" with a relative name presumes that the directory bbb exists in the current directory.
SYNTAX:
DIR_CHANGE D
USE ERROR EXAMPLE
rem take as current directory the directory "abcd" in the current directory
dir_change "abcd"
rem take as current directory the directory "c:\aaaa"
dir_change "c:\aaaa"
DIR_CHANGE
DIR_CHANGE D
SEE ALSO
DIR_CHANGE
DIR_EXISTS()
DIR_CURRENT$