JCL Help:FileRestore

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Restore file by renaming the backup filename to original filename.


Pascal

 function FileRestore(const FileName: string): Boolean;


Parameters

Parameters Description
const FileName: string The name of the file to restore.


Return Value

True on success, False otherwise. If the function fails, call GetLastError to to get extended error information, or RaiseLastOSError to pass the information on to the user.


Description

Restore file by renaming the backup filename to original filename.


See Also

FileBackup


About

Unit

JclFileUtils


Donator

Jean-Fabien Connault


Contributors

Robert Rossmair


Platforms

Windows Unix


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page