| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Moves a file to another directory.
FileMove( <cSourceFile>, <cTargetFile> ) --> nErrorCode
The function returns zero on success or a numeric error code on failure.
The function moves <cSourceFile> to a file specified with <cTargetFile>. The target file must be on the same drive as the source file.
| See also: | COPY FILE, FileCopy() |
| Category: | CT:DiskUtil , File functions , Low level file functions |
| Source: | ct\disk.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com