Moves the specified file to the target directory. |
Synopsis
moveFile(string from, string to); |
Parameters
Parameter |
Meaning |
from |
File and path , for example, "c://test1//test.txt" |
to |
The directory to which the file should be moved , for example, "c://test2" |
Return value
If the function was executed successfully it returns TRUE, otherwise FALSE. |
Error
- |
Description
Moves the specified file to the target directory. |
Example |
main() { moveFile("c://test1//test.txt","c://test2"); } |
Assignment
File functions |
Availability
|
See also
copyFile(), mkdir(), rmdir(), isdir(), isfile(), getExt(), delExt() |
V 3.11 SP1
Copyright