fixcat

A Windows batch file (.bat) or UNIX shell executable file (.sh) that rebuilds a corrupt catalog.dat file.

Syntax:

Windows:

fixcat.bat path-to-corrupted-catalog path-to-new-catalog.dat

UNIX:

fixcat.sh path-to-corrupted-catalog path-to-new-catalog.dat

Parameters:

path-to-corrupted-catalog
The path to the catalog file that is corrupt.
path-to-new-catalog.dat
The path and file name of the rebuilt catalog.dat file.

Comments:

As you will want to rebuild a catalog.dat file in the same location as the corrupted file, rename the corrupted file before running fixcat.

Example:

Windows:

rename C:\myFiles\CATALOG.DAT C:\myFiles\CATALOG.DAT.bkup
fixcat C:\myFiles\CATALOG.DAT.bkup C:\myFiles\CATALOG.DAT

UNIX:

mv /myFiles/CATALOG.DAT /myFiles/CATALOG.DAT.bkup
fixcat.sh /myFiles/CATALOG.DAT.bkup /myFiles/CATALOG.DAT