Archive: Does "Rename" overwrite an existing file?


Does "Rename" overwrite an existing file?
Will using "Rename" overwrite an existing destination file? From what I can tell it will not overwrite a file that already exists. Additionally, does "SetOverwrite" affect using "Rename" at all?


Rename will not overwrite existing files.
You will need to delete the existing file first, and then rename.

Not sure about if setoverwrite affects the rename command.

-Stu


Works in the same way when you use "Ren" in DOS.
Just rename the file....


SetOverwrite only applies to the File command.


Ok, thanks for the replies.