Archive: File rename


File rename
What is the method to rename a file ?


Rename command, docs here:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.6


Thanks !
Sorry to ask, I haven't see it!


Rename is also useful for moving the file too.

E.g.
CreateDirectory "$EXEDIR\backup"
Rename "$EXEDIR\installer.exe" "$EXEDIR\backup\oldinstaller.exe"

-Stu