If the system won't let go of a document or text file that you have opened in an editor or elsewhere, here is a tool called Process Explorer that will break the connection and free the resource:
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml