Please enable JavaScript to view this site.

This function is used to rename a file present on the CF of the motion control.

Syntax

i32 f_rename (string oldPathName, string newPathName)

oldPathName

Current name of the file including folder

newPathName

Desired name of the file including folder. Destination folder must be the same

Result

Returns:

Value

Description

0

Positive result of the operation

-1

Negative result

Validity

Task

Note

If functions regarding compact flash management are used, it is recommended that bit 14 of the sys_cfg variable (0x00004000) be imposed to 1, to enable the use of safety routines for flash write/read

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC