[solved] Delete „Item not found“ files from Windows Explorer and cmd
I had the issue, after backing up files from Android to Windows file shares with Cx Explorer, some files could not be renamed, deleted or moved via Windows Explorer, any UI tool and even PowerShell and cmd.
This where the symptoms:
Solution:
„Since short filenames are an optional feature of NTFS it’s possible that these files don’t have short names. In which case, you might be able to do it by using the extended length path form of the files‘ paths. You do this by prepending \\?\ to the full path of the file, enclosing it with quotes:“
C:\>ren „\\?\C:\Example\images\receipt. “ receipt.pdf
That finally solved my issue.
Thanks to rename – Renaming/deleting impossible filenames in Windows 7 – Super User