RenDir Statement
Rename a directory.
Syntax
Rendir oldDirName As String, newDirName As String
Parameters
- oldDirName
- Specify the path and directory name of the directory to be changed as a string expression.
- newDirName
- Specify the path and directory name of the modified directory as a string expression. See ChDisk for the details of path.
Description
The same path used for oldDirName must be included for newDirName.
If both paths of the parameters above are omitted and directory name is only specified, the current directory is specified.
Wildcard characters are not allowed in either oldDirName or newDirName.
Note
This function is executable only with the PC disk.
See Also
MkDir
RenDir Statement Example
RenDir "c:\mydata", "c:\mydata1"