D
Dave Cullen
My appplication spawns an external DOS process that creates a file. I
use Process.Start() and Process.Close() for calling that. After the
process closes, I look for the existance of the file it created.
The problem is that checking the existance of the file with
IO.File.Exists() fails, even though the file was created. If I step
through the program in debug mode it works fine.
Is there a way to "refresh" the directry first, so I'll see the file?
use Process.Start() and Process.Close() for calling that. After the
process closes, I look for the existance of the file it created.
The problem is that checking the existance of the file with
IO.File.Exists() fails, even though the file was created. If I step
through the program in debug mode it works fine.
Is there a way to "refresh" the directry first, so I'll see the file?