Write protect error when deleting a file from a zip file
Moderators: Hacker, petermad, Stefan2, white
Write protect error when deleting a file from a zip file
I am trying to delete a file from a zip.
I get this error:-
Error: Cannot write g:\_MS Train Simulator\....\3DTS West Colton\3DTS West Colton.zip!
Please remove the write protection!
I have checked permissions on shares and files, all are ok.
I can delete the file with FreeCommander XE without problem.
cheers
Derek
ps: win7 x64 all updates tc8.51 x64
I get this error:-
Error: Cannot write g:\_MS Train Simulator\....\3DTS West Colton\3DTS West Colton.zip!
Please remove the write protection!
I have checked permissions on shares and files, all are ok.
I can delete the file with FreeCommander XE without problem.
cheers
Derek
ps: win7 x64 all updates tc8.51 x64
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Do you have write rights to the directory? Modifying a ZIP means creating a new ZIP, copying all files you want to keep to the new ZIP, then deleting the original.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I have no idea what else could be wrong. Try using Process Monitor from Sysinternals to see which function fails.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Are you trying to delete to recycle bin? This goes to Explorer via OLE2. This will fail if the name is longer than 259 characters.
You can try to delete directly with Shift+Del.
You can try to delete directly with Shift+Del.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I am not doing the delete,
I am deleting a file from a zip with tc.
Under the hood,
1. create new zip file named *.zi#,
2. copy all of the other files into the zi#
3. delete *.zip
4. rename *.zi# to *.zip
Its number 4 that's failing as the zip file takes 10 to 30 seconds to disappear.
Still looking.
will look at the file name lengths, but the zip files are not appearing in the recycle bin.
I am deleting a file from a zip with tc.
Under the hood,
1. create new zip file named *.zi#,
2. copy all of the other files into the zi#
3. delete *.zip
4. rename *.zi# to *.zip
Its number 4 that's failing as the zip file takes 10 to 30 seconds to disappear.
Still looking.
will look at the file name lengths, but the zip files are not appearing in the recycle bin.