Does anyone have a suggestion for verifying a file's existence?
When I try via DIR$, and check to see if the file
"C:\ABC\Specific.dat" exists, it doesn't ast like it wants to
work in the directory again if it doesn't find it. I am looking
for a way to repeatedly check for the same file in the same
directory until it is found, or timed out.
Ideally (for me anyway), it would be nice be able to do something
like:
FileExistQ=0
While FileExistQ=0
FileExistQ=ChekFile "C:\ABC\Specific.dat"
wend
Yes, it will repeat. But hopefully not for long, a previous
routine is creating Specific.dat. I just need to know when
it is done so I can open it. It often tries to open it in the
middle of its creation, it seems.
Any suggestions?
Thank you.
Robert
------------------
When I try via DIR$, and check to see if the file
"C:\ABC\Specific.dat" exists, it doesn't ast like it wants to
work in the directory again if it doesn't find it. I am looking
for a way to repeatedly check for the same file in the same
directory until it is found, or timed out.
Ideally (for me anyway), it would be nice be able to do something
like:
FileExistQ=0
While FileExistQ=0
FileExistQ=ChekFile "C:\ABC\Specific.dat"
wend
Yes, it will repeat. But hopefully not for long, a previous
routine is creating Specific.dat. I just need to know when
it is done so I can open it. It often tries to open it in the
middle of its creation, it seems.
Any suggestions?
Thank you.
Robert
------------------
Comment