I have a normal batch file, running on XP. First, program A apends data (a string) to the end of file
X.dll (on the server). Then program B opens the file, and looks for the data. However, sometimes (usually), program B is evidently reading a version of the file before the string has been appended, despite the fact that it is being sequentially carried out after program A has returned.
If we call
dir X.dll between A and B, then B reads the altered file correctly.
The same batchfile, running on a Windows 7 machine on the same network, works flawlessly.
Does anyone have any ideas what on earth is going on?