Windows – getting “File Not Found” when typing “dir” in the command prompt

command linedirwindows xp

On my Windows XP machine, I type dir into the command prompt in a specific directory. It starts to list a bunch of files but then pauses and then shows File Not Found.

Does anyone know why that would happen and how to fix it?

Best Answer

If there is a corrupt entry in directory list, an error might occur. Just try again and try to find where it is aborted. Use Explorer instead of command prompt and examine the file list. Sometimes protected files -viruses/antiviruses and Sony do that- can't be recognized by the filesystem.

Probably you can't copy or delete ALL files in that directory. If they are not important try to delete all files. At the end you might find the "dirty" entry, after delete all clear files/dirs.

Related Question