Help - Search - Members - Calendar
Full Version: Crashing Destroys File Being Converted
PMView Pro Forums > PMView Pro Discussion > PMView - OS/2 Technical Support
Mark_Henigan
If PMView crashes when a file is being batch converted and being replaced by the converted image, e.g., by a 'Quick Script' for cropping, it is destroyed. This has happened most often when insufficient space was available on the target disk as well as for other reasons involving either PMView or another application that freezes the desktop. The original file is irretrievable because, I believe, of PMView's otherwise excellent memory and INI file management that leaves no wasted space on the disk and no useless entries in INI files.

I realize that I could always convert in a manner that does not overwrite the original. But, a prohibitive amount of effort would be required to delete the original files. Any other suggestions?

Thanks for your thoughts.

- Mark

Peter
PMView writes the data to a temporary file. Once that is successful, the old file is deleted and the temporary file is moved (renamed if on the same drive, otherwise copied & deleted) to the name of the original file.

If a crash happens in between the deletion and copying, then you will end up with a corrupt file. One way to minimize this from happening is to put your TMP and TEMP to point to the same drive where you work (in this case the temporary file can simply be moved instead of copy+delete).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.