So I’m trying to write an application that writes text files very fast. These files are processed by autohotkey after they are written and their order is important.

Windows is writing files out of time sequence order and I’m assuming it’s some sort of write caching issue.

For example if I write 10 separate text files in five seconds they may not actually be written in chronological order to the disk. For example the fifth one might be actually say before the fourth one etc. it’s not consistent. They are not written that way from VBA however it is strictly a Windows OS issue. I’m looking for some ideas on how to combat that.