Topic complex |
System functions |
Function |
rename() |
Short |
Renames a file |
Syntax |
RENAME(oldname,newname : STRING) : INTEGER |
Parameter |
oldname : path of an existing file
newname : new name |
Return |
1 = file is renamed
error code of the operating system
|
See also: |
|
Description |
If a file could not be renamed there can be several causes: File does not exist (any more),
it is opened (eventually by another user),
the necessary rights are missing,
the new name contains illegal characters...
|
Write a comment:
|