记得没有直接的函数可用,可以用以下三种方法。
1文件高级函数中,COPY和MOVE函数都可以实现重命名,比如先COPY,然后删除原来文件。
2 、使用SYSTEM EXEC,执行DOS命令REANME
3、直接使用API
Attached example uses the Move function of the File I/O to rename the Source file by giving a new filename (including the extension) to the Target (File) Path.