|
Post by kevinw on Oct 28, 2008 11:31:10 GMT -5
Is there any way to zip locked files? The only solution I've come up with so far is to copy the files to a temp folder and zip them from there, but I'd prefer to be able to zip them directly
|
|
|
Post by Kevin on Oct 28, 2008 20:02:07 GMT -5
Unfortunately, if a file is truly locked, if there is a way to zip it, I am not aware of it.
Kevin
|
|
|
Post by Kevin on Oct 29, 2008 20:59:04 GMT -5
I have done a little more research on this subject and I believe it is possible by using the windows api to open files rather than through normal Delphi I/O calls. It also requires that the process be run under an administrators account but I think that is mostly the norm under Windows. Once the D2009/Unicode version is released (pretty soon) I will work on adding the code to do this.
Kevin
|
|