?Hi, Steve.
Have you tried Dir with the /x switch?
Dir /x
This should produce a normal Directory listing - with an easily-overlooked
extra column before the normal filenames. The extra column shows the SFN
(Short File Name, also called the 8.3 filename) for any file whose LFN (Long
File Name) does not qualify as an SFN. Even a 1-character filename can be
an LFN if that one character is a Space or other "illegal" character. Use
that SFN in your Del command to Delete that file. If it is a folder, use
the RD (Remove Directory) command instead; we Delete files and Remove
folders. (To be sure that you've spelled the SFN correctly, you can use the
Command Prompt's Mark/Copy/Paste functions.)
As usual in a Command Prompt window, use Dir /? to see a list of all the
switches and parameters available with the Dir command. The /a switch shows
All files, including those with Hidden or other Attributes set. And the /s
switch lists files in all subdirectories of the target directory. So use
the command:
Dir C:\ /x /s /a
This should show the SFN for EVERY file anywhere on Drive C:. It starts at
the top (C:\) and lists ALL files and folders in ALL directories on the
disk, no matter their Attributes, and shows the SFN for EVERY file/folder
with a LFN that does not qualify as an SFN. Just be prepared: this list
can be VERY long! It's better to CD (Change Directory) to the parent of
that "phantom" file, or use the pathname in the Dir command. For example:
Dir "C:\User\Steve\Desktop" /x /s /a
RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP (2002-9/30/10)
Windows Live Mail Version 2011 (Build 15.4.3502.0922) in Win7 Ultimate x64
SP1 RC
"Steve" wrote in message
Then you're looking in the wrong folder. Navigate to the proper
folder, make sure the DIR command finds and lists the file, then use
the DEL command on it.
OK, I get it. I didn't quite understand what to do. I'm going to bed
now, but I have tomorrow off so I will see what I can do then. Thanks!