Possible Duplicate:
How do I delete a ‘locked’ file?
How can I find out which process is locking a file or folder in Windows?
For instance if you are trying to delete a folder and windows reports
"The action can't be completed because the folder is open in another program"