G
Guest
When i was trying to recursively delete a directory:
Directory.Delete(mydirectory,true);
It threw the following exception for a lot of files:
System.IO.IOException: The process cannot access the file "abc.xsl" because
it is being used by another process.
Upon further examincation, it is found that these files are all zero-byte
empty files.
Someone suggested that it might be caused by aggressive AV programs, so i
disabled AV on the box and retried, but still got the same errors.
Any clue on what might be the problem? It is running .NET 1.1 on Windows
2003 standard edition.
Thanks!
Directory.Delete(mydirectory,true);
It threw the following exception for a lot of files:
System.IO.IOException: The process cannot access the file "abc.xsl" because
it is being used by another process.
Upon further examincation, it is found that these files are all zero-byte
empty files.
Someone suggested that it might be caused by aggressive AV programs, so i
disabled AV on the box and retried, but still got the same errors.
Any clue on what might be the problem? It is running .NET 1.1 on Windows
2003 standard edition.
Thanks!