Recover File
Purpose 
Recovers a damaged FileMaker Pro file.
Format 
Recover File [No dialog; “<filename>”]
Options 
 •
Perform without dialog prevents a dialog box from displaying after the script step performs that shows how many bytes of data were recovered, the number of records and field values skipped, and the number of field definitions recovered.
Perform without dialog applies only to default recovery operations. The Advanced Recover Options dialog box is not supported.
 •
Select Specify source file or click Specify to display a dialog box where you can select the file to be recovered. For more information, see Creating file paths. If you don’t select a source file, the Open Damaged File dialog box displays at runtime.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
No 
Custom Web Publishing 
No 
Instant Web Publishing 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
FileMaker Pro attempts to repair and recover as much of the information in a damaged file as possible, and then creates a new, recovered file. The original file is not deleted or replaced.
Note  Before you begin, be sure you have enough disk space for the recovered file. If there isn't enough space, the recovered file won't be usable.
Examples 
#Note: The Recover command makes an aggressive attempt to reopen a damaged file. It is intended for data recovery, not file repair. Do not use the Recover command as part of routine file maintenance.
Recover File [ ]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)