Documentation for repair.exe

What is it good for?
--------------------
When the uMusycs software saves data to disk of the PC, it may happen
that the computer crashes or is turned off. In these cases the files that
have been kept open by the software are not closed or terminated correctly.
In fact, the next time you have a stable system, the operating system will
show you the files. But often, the very last cluster does not contain
valid data. Often the start of the file is not ok. Famos will then not
load these files.

For simple data types (only time domain data, only single event, only
one channel per files, only saved by uMusycs software) the program repair.exe
can modify the file. Afterwards it can be read into Famos.
Then sometimes you will see corrupted data at the end. Then call repair.exe
again with modified parameters. Then load into Famos again.



How do you use it?
------------------
Before calling repair.exe, make a backup copy of your data files!

repair.exe is a program without graphical user interface. It can only
be called from the MS DOS box.

We recommend to write a little batch.

repair.exe will take 3 parameters.

repair.exe <filename> <2> <bytes to ignore>

<filename>: The complete filename of the file to be fixed.
<2>: This is always 2.
<bytes to ignore>: This number of bytes will be ignored at the end of the
   file. Default is 0. If you use a number > 0, then so many bytes from
   the end of the files will not be used. This way, you can cut off invalid
   data at the end (e.g. a complete cluster that does not contain valid
   data). Mostly you can not set this parameter in advance. So always start
   with 0. Then later on, you can call repair.exe for a file that has
   already been repaired. But use a number > 0.
   Alternatively, you can cut off the last part in Famos in the data
   editor.

See example batch r.bat


No guarantee
------------
There is no guarantee at all for the program. It may not help at all. It
may destroy your files. imc is not responsible for any damage caused by
calling this program.


Keine Garantie
--------------
Fuer dieses Programm repair.exe gibt es ueberhaupt keine Garantie. Es muss
nicht funktionieren, es kann sogar alle Daten zerstoeren. imc ist nicht
verantwortlich fr jeglichen Schaden, der aus dem Aufruf dieses Programmes
resultiert. Aufruf nur auf eigene Gefahr. 

Bitte melden Sie sich bei der hotline, um im Falle von zerstoerten Daten 
Hilfe anzufordern.




















