How do I rename a folder? Situation is this, I need to copy my folder over but I want to rename the old folder to something like folder.old just for my reference..
Cheers.
Rename Folder
5 posts
I am using the system plugin to do that:
Hope this helps
CF
Note that $0 will be 0 if the call fails. You may want to look at MoveFileEx for more advanced features.System::Call 'kernel32::MoveFile(t "<Full_Path_of_Folder_to_rename>", t "<Full_Path_of_Folder_to_rename>.old")i r0'
Hope this helps
CF
Hi CF!
What's the advantage of your function compared to NSIS' Rename ?
Rename:
Thanks!
Cheers
Bruno
What's the advantage of your function compared to NSIS' Rename ?
Rename:
Thanks!
Cheers
Bruno
None, I guess 🙂
CF
CF
after reading the replies I have discovered that I missed out that short single bit of text which mentioned the RENAME function includes directories too.
dots..
Thanks guys for the help.
dots..
Thanks guys for the help.