Hi, I can't figure out why, but whenever I use RemoveDirectory() to delete an empty directory it fails with "The process cannot access the file because it is being used by another process", but I can delete the directory by hand through Windows Explorer. Why can Windows Explorer delete it, but not RemoveDirectory() when I use it in my program?