M
M
missial2013-11-26 13:55:57
Windows
missial, 2013-11-26 13:55:57

How to track what changes the program has made to a file?

There is a file in which the data is written. How can you track exactly what data is written to it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrew, 2013-11-26
@OLS

Filemon from Russinovich's SysUtils suite should help you.

M
missial, 2013-11-26
@missial

Does not work. Records are constantly being made to the file, literally every second. At some point, incorrect data comes in, after which the program starts to read it incorrectly. And as I suppose, incorrect data is written exactly at the moment the program is closed.
If I close the program, then what should I compare it with?

Y
Yaroslav Eremin, 2013-11-26
@YaroslavEremin

It really depends on the file type. But if the data is only being written, you can periodically check the size or number of lines in the log file with a script, and then use this data to calculate what exactly has been changed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question