To WTC,
Thanks for the reply. I did need a space between f and " but then I
got
the
message "could not find [path] [name]" This with explorer off (no
desktop).
A Dir of desktop does show the file (0 bytes and no extension). I
tried
to
be careful about spaces in the file name. Also tried moveonb.exe and
rebooted. No joy there either. I tried in safe mode - nix.
Any other suggestions would be most appreciated and I will post when I
succeed.
DG
:
Try the steps in one of my previous posts and use this command:
del /a /f "\\?\c:\desktop\FWD_How many members of the*.*"
There is a **space** between f and ". Also, are you certain you have
the
correct file location? Do you have a folder named "desktop" in your C
drive
(c:\desktop).
If you want to know what /a and /f does then open a Command Prompt and
type:
del /?
The "\\?" will bypass the typical Win32 reserved name checks like
"lpt1".
--
William Crawford
MS-MVP Windows Shell/User
To WTC:
I have exactly the problem Mike had and I did everything you
suggested
except I put correct path and file name for my situation and get
"Parameter
format not correct" I did it very carefully several times with same
result.
Although I put it in as you suggest, I'm not clear what a/f"\\?
does.
I
suspect that's where my problem is. If I just use del
\path\filename
then
it
can't find file.
Thanks for any help you can provide.
:
I have an Icon with no file extenion on it. Properties List it as
file
unknown on how to open. It has 0 bytes for size. When i right
click
and
pick delete it say cannot delete, cannot read from the source
file
or
disk.
Anyone have any suggestions please.
1. Write down the path and filename of the undeletable file.
2. Open a command prompt window. (Start > Run > cmd.exe)
3. Open the Task Manager. (Start > Run > taskmgr.exe)
4. In the Task Manager, find the process called "Explorer" and end
the
process for explorer. (The Desktop and Taskbar will disappear)
5. Close the Task Manager.
6. In the command prompt window, type:
del /a /f "\\?\path\filename"
So if the file was called abc.jpg located in c:\pictures then the
command
would look like:
del /a /f "\\?\c:\pictures\abc.jpg"
7. To regain your desktop and taskbar, type the following in the
command
prompt window:
explorer.exe
-------
You may wish to read this KB article.
You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/?kbid=320081