Declarationfunction RenameFile(idx: Integer; NewName: string) : boolean;
Renames the file at idx
using the standard windows functionality.
Result is true unless an error was encountered.
If you specify IEF_CURRENT_FILE for idx
then currently selected file will be renamed.
must be a name only, without a folder path
- Has no effect for files on a device folder
- Users can rename files using F2 or double-clicking a filename. You can prevent this by disabling ReadOnly
Example// Rename current file to "Selected.jpg"