New
#1
Windows 7 locks a file from being edited or deleted.
I am running Windows 7 and using the 7-Zip application to edit, add new, and delete existing files in an epub archive. I can overwrite a one file in the archive one time with no problems. If I try to delete or modify the same file within the archive a second time, Windows locks the entire archive and does not allow any changes to be made to the archive. 7-Zip gives the prompt, "Cannot create a file when that file already exists." I thought initially this was a 7-Zip error, but have closed the 7-Zip application and any 7-Zip processes running in the task manager. I have tried taking Administrator ownership of the document. No other process is accessing the file, only the windows os. Only after a log out or a restart of Windows is the archive accessible again. It also creates a random file name with a .tmp extention. After the log out or restart, I have to change the name and extension of the .tmp file to its original name and .epub extension. It is rather frustrating being able to modify a file only one time before I have to log out and the log back in to make further changes. This never happened when working with windows XP. Any help would be greatly appreciated.
Thanks,
--christopher