tumblr tracker

Move

Library Reference ›› File ››
Parent Previous Next

File.Move


Namespace: File


Renames or moves a file to another folder.


retval = File.Rename(SourceFilePath, DestFilePath)


Parameters:

- SourceFilePath; string constant or variable containing the file path of the source file

- DestFilePath; string constant or variable containing the file path of the destination file


Returns:

True if successful, otherwise false; boolean value.


Example


File.Move("C:\TEMP\somefile.txt", "C:\TEMP\somefile2.txt")