My problem: I use Synchronize It! on different computers and so sometimes I have to synchronize the wndsync.ini too. But if a newer version of that file is copied to the computer where Synchronize It! is running on, the copied version is overwritten when exiting the program.
My suggestion:
- Check wndsync.ini when starting the programm (maybe save a md5-hash of it's contents).
- When explicitly changing the file in the program, first check, if in the meantime file was changed from outside - if so, give a warning, maybe start Compare It! if present or simply ask for overwriting the changed version.
- When the program is finished, only save wndsync.ini if it really was changed during the run. Then, if the file was changed from outside too, again give a warning and so on.
- Optionally everytime on finishing check for differences between settings in file and program and - if there are any - warn the user and give him the option to chose between the two versions.