Talk:Reference/Rename

From NSIS Wiki
Jump to navigationJump to search

If you are moving directory, make sure that target directry doesn't have file with the same name:

Rename "$InstDir\alpha" ""$InstDir\alpha_Backup"

if there is file: C:\temp\alpha, will lead to:

Rename failed: C:\temp\alpha->C:\temp\alpha_Backup

with no additional error information.