@David-McCallum
I have no trouble deleting the directory/folder in such a case, with Win7 64bit and Notepad++ 7.3.3 32bit at least. Maybe the way I tried it is different from your use-case where you see an issue–can you post more detail about what you do to see this happen? Maybe that sounds dumb, but bear with me–people often leave out a crucial step that seems so obvious to them, but isn’t at all to others.
What error do you get when trying to delete the directory? A “Folder In Use” box with “Try Again” and “Cancel” buttons?