Archive: rename bug.


rename bug.
Okay I have an installer that does both unicode and nonunicode depending on the OS. Now currently im putting both files there and checking the OS then renaming the right one to what I want. However if the file is already there the rename fails but I don't get an error. I understand why the rename fails I just think there should be some error message like when you attempt to write over a locked file.


Did you try using IfErrors to check for an error?


Either check if it succeeded with IfErrors or check if the file exists first with IfFileExists (which you should do).

-Stu