PreviousNext
Help > REFERENCE OF THE BUILT-IN FUNCTIONS > Files and File Storage Devices > rename
rename

Format:

integer= rename (text_filecurr, text_filenew);

Change the name of a file or move it to new directory. Return 0 if successful, or a negative value result, otherwise.