chdir - change current working directory
The chdir statement changes the current working directory to the directory
given by FileSpec. Files referenced with path names that do not begin with /
are located relative to the current working directory. After the current
working directory is changed, the new directory is used as the base for all
relative path names for this program.
deletes the files employees/gary, employees/larry and employees/roger.
If FileSpec is not a directory that the user is permitted to search,
an "Illegal function call" error occurs.
The Basmark QuickBASIC Programmerís Manual