ChDir (statement)
Syntax | ChDir newdir$ |
Description | Changes the current directory of the specified drive to newdir$. This routine will not change the current drive. (See ChDrive [statement].) |
Example |
This example saves the current directory, then changes to the root directory, displays the old and new directories, restores the old directory, and displays it.
|
See Also | ChDrive (statement); CurDir, CurDir$ (functions); Dir, Dir$ (functions); MkDir (statement); RmDir (statement). |