Compare & Edit Save changes
Posted: 2009-06-28, 05:53 UTC
As I found, two modes are exist, depending of CompareSaveOriginal parameter. In both modes TC create additional files in the same folder.
Imagine that user has write-protected folder with write-enabled ini-file. In Windows Vista/7 this is normal for old applications that keep ini-files in program folders. So, this ini may be edited, but other files and a folder are write-protected.
Both CompareSaveOriginal modes in this case will try to create tmp file (this will fail), and open a browse dialog to save modified file. But user wants just to save file in-place, and he can't. So it is much better if TC ask where to save .bak file and to save changes in original file. Or TC should create tmp files in its appdata folder (or in tmp folder - this case I like more than others because it won't create any unexpected files in user folders). Or there should be an option to disable .bak-files creation (it isn't good in some cases but will save such files correctly w/o troubles).
Imagine that user has write-protected folder with write-enabled ini-file. In Windows Vista/7 this is normal for old applications that keep ini-files in program folders. So, this ini may be edited, but other files and a folder are write-protected.
Both CompareSaveOriginal modes in this case will try to create tmp file (this will fail), and open a browse dialog to save modified file. But user wants just to save file in-place, and he can't. So it is much better if TC ask where to save .bak file and to save changes in original file. Or TC should create tmp files in its appdata folder (or in tmp folder - this case I like more than others because it won't create any unexpected files in user folders). Or there should be an option to disable .bak-files creation (it isn't good in some cases but will save such files correctly w/o troubles).