SET DIR This command will set the current working directory to the specified path.
Syntax
    SET DIR Path$
Parameters
    Path$
String This command will set the current working directory to the specified path
Returns
This command does not return a value.
Description
The path can be absolute or relative. Absolute paths contain the entire path including the drive letter. A relative path assumes the program has a valid current working directory and continues the path from the current location. Alternatively you can use the command CD, which does the same thing.
Example Code
    cls

    set dir "c:\docs"

    do

    loop

    end
See also
FILE Commands Menu Index