I am trying to make an script that reads a line from a file and deletes it and continues like this until the last line. The catch is, that there is an application writing to this file so I can not just move it somewhere else and create a new file. I am trying to do this in windows (which makes it a bit more difficult for me).
If anybody has an idea of how I can do this, please tell me.
If anybody has an idea of how I can do this, please tell me.
Comment