%FIO_Move function


Function
The function moves the specified file to a new file.
Declaration
BOOL %FIO_Move(
   TEXT in srcFileName, 
   TEXT in dstFileName,
  [,BOOL in bFailIfExist] 
 )
Parameters
srcFileNameThe name of the file to be moved.
dstFileNameThe name of the new file.
bFailIfExist@TRUE - default value.
If is bFailIfExist
  • @TRUE -  the action return error, if the dstFile exist,
  • @FALSE - if the dstFile exist, overwrite the file.
Return value
@TRUE - the file moved, @FALSE - cannot move the file.
Note
On Windows and Linux platforms, the function %FIO_Move also allows to move a directory (including the directory content).
Napíšte komentár