While modifying a node script I inadvertently created a directory with files in it called "Test..".
I have tried deleting it from explorer and it just tells me:
Could not find this item This is no longer located in c:\myparentfolder. Verify the item's location and try again.
But the directory is still there. Couriously if I create another directory called "Test" and then delete "Test.." from explorer, it will delete "Test" and leave "Test..".
I have also tried rmdir /s /q "Test.." but it just tells me that
The system cannot find the file specified.
How can I remove this folder?

..is the magic sign for the previous directory. Perhaps it is searching for a folder named "Test" in the previous directory? – gparyani Sep 16 '14 at 21:39.., creating a folder named "Test". I can delete this folder properly. I think that this is a bug in Windows that they fixed the wrong way (there were problems with having..at the end of folder names, so they simply put a soft restriction against creation of such folders, but didn't consider the case where such a folder already exists, i.e. has been created by bypassing the soft restriction (through your script)) – gparyani Sep 16 '14 at 21:45