Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSingleFileSystem.MoveFile
TSingleFileSystem
Top 


Moves one file inside the single file system to another one.

function MoveFile(const OldName, NewName: string; Password: string = ''): Boolean;

Description
MoveFile attempts to move file specified by OldName to the file specified by NewName. If the operation succeeds, MoveFile returns True. If it cannot move the file (for example, if a file called OldName does not exists), it returns False.
Note:   MoveFile deletes source file specified by OldName. Use CopyFile to copy file without deleting source file.


© 2000-2004 AidAim Software LLC Single File System: Single File Syste