int MoveFile
(string existingFileName, string
newFileName)
Return Value
Returns OK if the file has been
successfully moved. Otherwise, returns FAIL.
Parameters
existingFileName
– the name of the existing file.
newFileName –
the name of the new file.
Remarks
Call this function to move
(rename) either a file or a directory (including all its children)
either in the same directory or across directories.
Package
Plug in module: nd_fileplg.npl
Example
The following example demonstrates
the use of MoveFile.