Rename file

Description

Rename an exist file in flash memory to the new name gave.

If no file name matched, then do nothing.

Usage:

Direct:

"fRENoldname newname "

Arduino:

void renameFile(const char *oldname,const char *newname)

C:

void Digole_renameFile(const char *oldname,const char *newname)

 

Note: This function can't run in commands set.

Parameters:

oldname

The exist file name want to be charnded in flash memory.

newname

The new file name

Example (Arduino):

mydisp.renameFile("hello.txt","new.txt");  //change the file name "hello.txt" in flash memory to "new.txt"

Changelog

Version Description
V7 function was added.

See Also

Switch flash modes