Re: Cannot delete file..Zero Bytes?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"cohack11" <cohack11.3y85c5@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:cohack11.3y85c5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hello,

I have a file on my desktop named <Fitzgerald ->. I do not know where
it came from. This is no surprise given that my daughter uses the PC
under my login from time to time. The file size is 0 bytes. The
properties security tab says "The requested security information is
either unavailable or cannot be displayed". The attributes info is "A"
(don't know what that means). I can move the desktop icon around the
screen but I cannot trash it by any means found online. When I try to
throw it in the trash, the error message says "Could not find this
item". Under this message it reads "This is no longer located in
C:\...\Desktop\Fitzgerald -. Verify the item's location and try
again."

Vista Home Premium 32bit.

Any ideas?


--
cohack11
Posted via http://www.vistaheads.com

Posted by R.C White to answer a very similar question in another place and time but in this galaxy and close by.

----------------
Open a Command Prompt and use the old DOS command "Dir", from days before
Directories were Folders. Type "DIR /?" to see a mini-Help file with a list
of switches and parameters that can be used with the Dir command.

Navigate to the directory where your zero-byte file is. Then type "Dir" to
see a list of all the files and folders there, including your mystery file.
You can use Dir /os to "order" them by size; any zero-byte file should be at
the top. (If the list is too long, you can use Dir /o-s to put the
zero-byte file at the bottom of the listing.)

Then use Dir /x to produce the list with an extra column before the
filenames. See if your zero-byte file has a name that includes characters
that are not allowed in an 8.3 filename. If so, use that "short" filename
with the Del command to delete that file.

If all else fails, create a new folder and move everything EXCEPT the
zero-balance file to the new folder. Then use the RD (Remove Directory)
command with the /s switch to remove that entire directory tree, including
all the files and folders left in it; there should be only the one file that
you want to delete. Then you can rename your new folder to the original
name, if you like.

If these tricks don't work, post back with details. "Tried it" doesn't tell
us much; neither does "Didn't work". We need step by step details of what
you did and what you saw, including verbatim text of any error messages.
------------------------

Tom Ferguson


.



Relevant Pages

  • Re: Cannot delete file..Zero Bytes?
    ... "Tom Ferguson" wrote: ... Open a Command Prompt and use the old DOS command "Dir", ... Navigate to the directory where your zero-byte file is. ... create a new folder and move everything EXCEPT the ...
    (microsoft.public.windows.vista.file_management)
  • Re: Cannot delete file..Zero Bytes?
    ... Open a Command Prompt and use the old DOS command "Dir", ... Navigate to the directory where your zero-byte file is. ... create a new folder and move everything EXCEPT the ... Windows NTFS cannot recognize dots in file extensions, ...
    (microsoft.public.windows.vista.file_management)
  • Re: Un-erasable folder
    ... > enclose the entire filename (including the path if you are not in its ... Enclose IN QUOTES, of course. ... Like the former deltree command. ... > entire folder name, so the second method may be easier. ...
    (microsoft.public.windows.file_system)
  • Re: Cannot delete a large file (566 Mb).
    ... filename) for the file that appears to be named "d". ... even if it appears to be only a single character long. ... Sometimes the dir /x command shows a quite unexpected SFN for what appears ... you can Move or otherwise isolate that problem file in a folder by itself, ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Stop Action
    ... Your code behind the Print button on the form can read the path and filename ... I put the code to disable the lower controls in the form ... > I have the docs in the same folder as the mdb. ... I suppose this is done through command buttons? ...
    (microsoft.public.access.formscoding)