RenameFile(SourceFileName: String, DestinationFileName: String[, Overwrite: Boolean]): Boolean
Rename File function rename the file specified in Source File Name to the file specified in Destination File Name, optionally over writing if destination file already exists.
RenameFile function syntax has these named arguments:
Parameter |
Description |
|---|---|
Source File Name |
Required. The name of the file to be renamed. |
Destination File Name |
Required. The name of the file to be renamed to. |
Overwrite |
Optional. Overwrite Destination file if it already exists. Default False if not specified. |