DeleteFile.. doesn't

BlitzMax Forums/BlitzMax Programming/DeleteFile.. doesn't

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i've had a problem when even after closing a file off. it still takes time for windows to "create" the file.
In the meantime you already deleted a file thats not there, and then the file gets created.

try something like
while not deletefile(tempfile)
delay 100
wend