ECHO OFF REM Any family tree.bat REM by Tom Holden 2010-05-28 REM Calls sqlite3 to open the RootsMagc database file path and name passed as a parameter REM and do the quick integrity check on it. REM Waits for user to view result until a key is pressed. REM Then launches RootsMagic to open the database. REM ECHO ************************************************ ECHO CHECKING INTEGRITY of RootsMagic SQLite database ECHO %1 ECHO ------------------------------------------------ "D:\Program Files\SQLite\sqlite-3_6_22\sqlite3.exe" %1 "PRAGMA quick_check;" ECHO ************************************************ ECHO When ready to open this file in RootsMagic, PAUSE "C:\Program Files\RootsMagic 4\RootsMagic.exe" %1