A client emailed me some documents in a zip file. I unzipped them on my Windows 10 PC, but they had no file extension. I manually added a .doc extension, and they opened with Word.
I have another copy of the files with no extension in my One Drive folder.
When I try to delete these files, Windows says it cannot find the file.
If I view the Properties of the file, it says the file is 0KB, but File Explorer says they have a >0 file size.
If I view the dir in CMD I see the files in question. I was able to rename 1 file in CMD to filename.txt, which allowed me to delete the file, but I was unable to rename the rest of the files: The system cannot find the file specified.
Never seen this symptom before.
Update: The filenames are not special file names.
The following answers did not work in this situation:
- dir /a /x /p
- DEL "FILE NAME IN QUOTES" (not applicable)
- del
\\?\C:\Users\userX\0bytefile