FileSystem.Move Method

Top 

Description

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

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

FileSystem.Move(String sourcePath, String destinationPath)

None

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

FileSystem.Move(String sourcePath, String destinationPath, Variable overwrite)

None

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

 

 

See also

FileSystem Object

Interfacing with Files Guide