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


TSingleFileSystem.RenameFile
TSingleFileSystem
Top 


Changes a file name within a single file system.

function RenameFile(const OldName, NewName: string): Boolean;

Description
RenameFile attempts to change the name of the file specified by OldName to NewName. If the operation succeeds, RenameFile returns True. If it cannot rename the file (for example, if a file called NewName already exists), it returns False.


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