FileSystem.Rename Method



Renames the specified file or directory sourcePath to the destinationPath. When moving a directory, all files and subfolders will be renamed, recursively. In the event that the rename operation overwrites existing files or directories, the rename is not atomic. An error will be reported if the rename operation is unsuccessful.


Timing Precision Mode

This page describes functionality in millisecond timing precision mode.


Overload List


FileSystem.Rename(String, String)

FileSystem.Rename(String, String, Variable)


See also

FileSystem Object

Interfacing with Files Guide