Instead of writing a file on disk, is it not possible to pass to your dos program, the handle to a memory bank?
It would just have to write something in memory to signal it has finished, and save your hard drive life.
It would just have to write something in memory to signal it has finished, and save your hard drive life.