I'm using UrbanCode Deploy for windows code deployments, and in my folder I've created a folder '.' . I've tried all the powershell remove-item commands and flags I can think of, I've tried robocopy move / purge copying it somewhere else, and run a chkdsk with no reported errors.
When I delete it manually I get 'Error 0x80070091: The directory is not empty'.
When I try and delete it through powershell I get 'Get-ChildItem : The path is not of a legal form'
If I open the '.' folder, it's as if I did 'ls -l ./'. If I go one deeper I get an error 'This file path refers to a location that is unavailable.'
Any ideas how to delete this folder?