Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%FIO_Move function


Function
The function moves the specified file to a new file.
Declaration


Blok kódu
languageesl
themeConfluence
BOOL %FIO_Move(
   TEXT in srcFileName, 
   TEXT in dstFileName,
  [,BOOL in bFailIfExist] 
 )
Parameters


srcFileName
Name
The name of the file to be moved.
dstFileName
Name
The 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).