I want to intentionally break rar archive for testing purposes. I was trying to copy archive in the middle or archiving process but it is impossible due to read lock (I use windows 7).
How to do that?
I think opening with editor and deleting some chunks of the gibberish code should work. However, there would still be trouble with the read-lock.
I tested it with a .zip file. After the first delete (first ~10 lines) it was still readable by 7-Zip, after deleting some more lines it was corrupted and Windows Explorer nor 7-Zip was able to open it.