xHarbour Reference Documentation > Function Reference |
Renames a file and handles errors.
RenameFile( <cOldFile>, <cNewFile> ) --> nErrorCode
The function returns zero on success or a numeric error code on failure.
See also: | DeleteFile(), FileMove() |
Category: | CT:DiskUtil , File functions |
Source: | ct\diskutil.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com