0

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:

Steve
  • 2,741
  • 17
  • 66
  • 117

1 Answers1

1

Command prompt to the dir that the file is in. Move everything else out, then del*.* to remove the problem files.

(with a space after "del", obv. This website wouldn't show the stars if I left the space in...)

Had the same situation just now with a file downloaded from a linux server that had no extension. Tried everything and trusty old stardotstar fixed it.

crobin
  • 26
  • 1