Mysterious file which can not be deleted or renamed

C

CXD

Recently a file appeared on my desktop. I tried many ways to delete it,
including deleting from Windows Explorer, running DOS command del, and even
using UnxUtils command rm, but all gave me file not found error. I also
tried several ways to rename it, from Windows Explorer, using DOS command
ren, and using UnxUtils command mv, but I got the same kind of error. I can
view the file property from Windows Explorer which shows 0 size, valid
recent time, and no special attributes (ie. not system/hidden/read-only
file). Running DOS command dir on the desktop folder gives the same file
info, but dir on the file itself results in the same file not found error.
In other words, the file can not be directly operated. I had used process
explorer to search if any process locks it, but no one.

The file name contains no extension, but seems to have a trailing space
character (or may be a special character displayed as space). Maybe that
trailing space is causing the problem and the file can not be addressed by
programs. How can I get rid of this mysterious file? My system is Windows
Vista Business.

Thanks.
 
S

Synapse Syndrome

CXD said:
Recently a file appeared on my desktop. I tried many ways to delete it,
including deleting from Windows Explorer, running DOS command del, and
even using UnxUtils command rm, but all gave me file not found error. I
also tried several ways to rename it, from Windows Explorer, using DOS
command ren, and using UnxUtils command mv, but I got the same kind of
error. I can view the file property from Windows Explorer which shows 0
size, valid recent time, and no special attributes (ie. not
system/hidden/read-only file). Running DOS command dir on the desktop
folder gives the same file info, but dir on the file itself results in
the same file not found error. In other words, the file can not be
directly operated. I had used process explorer to search if any process
locks it, but no one.

The file name contains no extension, but seems to have a trailing space
character (or may be a special character displayed as space). Maybe that
trailing space is causing the problem and the file can not be addressed
by programs. How can I get rid of this mysterious file? My system is
Windows Vista Business.



This should work:

http://www.jrtwine.com/products/dfxp/index.htm

ss.
 
C

CXD

Thanks for the links! Although I did not try the software, but I found a
simple solution after following those links: just type dir/x at command
prompt to find out its short file name (8.3 as in old DOS), and then type
del with the short name.
 
S

Synapse Syndrome

CXD said:
Thanks for the links! Although I did not try the software, but I found a
simple solution after following those links: just type dir/x at command
prompt to find out its short file name (8.3 as in old DOS), and then type
del with the short name.


That's interesting. In that case, you could have just used COMMAND.COM,
instead of CMD.EXE. I wonder what I would have done, as I have disabled
creation of 8.3 file names in the filesystem. It probably would not have
even appeared at all.

ss.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top