Does Process.WaitForExit() Really Wait?

F

florin

Or you can just run the "Handle" tool from Sysinternals (now bought by
Microsoft) which can show you who is having handles to a given file.
You can just run "handle.exe <my file name> >someLogFile.txt" before
you do the delete, in case the delete fails just look in the
someLogFile.txt to see who had that file open at that time. Once you
know who is to blame you will know how to fix/hack it.

florin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top