Rename Folder

Can you be more specific about what happens? Is there an error message?

Note that Lxp's command should go into a button or hotkey (not the Rename dialog, if you were adding it there).