Undeletable file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a file on my desktop that I cannot be deleted. The file name is CA2JCDA7
This file doesn't have the permission tab.
I tried to delete it with command MS-DOS but without results.


I wating for a notice...

Thank's
 
Stephen said:
I have a file on my desktop that I cannot be deleted. The file name
is CA2JCDA7 This file doesn't have the permission tab.
I tried to delete it with command MS-DOS but without results.

Tried in Safe Mode?
 
Stephen Kleckner said:
I have a file on my desktop that I cannot be deleted. The file name is
CA2JCDA7
This file doesn't have the permission tab.
I tried to delete it with command MS-DOS but without results.


I wating for a notice...

Thank's

It is probably in use. So delete it when not in use- in Windows a DOS
session is just sitting on top of Windows so the file is still in use. So
delete in either safe mode where a minimal set of drivers is used, or use a
boot floppy disk into DOS then Delete it. You may find it just comes back
though- if it is in use it could be being used by your firewall, anti-virus
or some other program you run from start up that is finding its way to your
desktop rather than a temp directory. Not too long ago that was a problem
with a program but I can't recall which one.
 
Stephen Kleckner said:
I have a file on my desktop that I cannot be deleted. The file name is
CA2JCDA7
This file doesn't have the permission tab.
I tried to delete it with command MS-DOS but without results.


To delete an undeletable file.

Method 1

1. Create a new temporary folder.
2. Try and move the undeletable file into the newly created folder.
3. Delete the newly created folder.

--------

Method 2

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. (This will make the desktop and taskbar 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
 
You seem to be bypassing the important point here and each of your
suggestions seem to be missing a little.


WTC said:
To delete an undeletable file.

Method 1

1. Create a new temporary folder.
2. Try and move the undeletable file into the newly created folder.
3. Delete the newly created folder.

--------

If the file is in use you can't move it.

Do this from SAFE mode, only a minimal set of drivers gets loaded. Or Go to
System explorer and kill that process. Problem is that something somewhere
points to it to get loaded so you may receive error messages- it can't find
the file.


Method 2

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. (This will make the desktop and taskbar 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

-------


A DOS sessin in XP sits on top of Windows- so if the file was in use it is
still in use.

Run DOS, not a DOS session so it doesn't get loaded.
 
So, the DOS session that is just sitting on top of Windows is using the file
and booting into DOS will help fix the problem?

I didn't know that.
It is probably in use. So delete it when not in use- in Windows a DOS
session is just sitting on top of Windows so the file is still in use. So
delete in either safe mode where a minimal set of drivers is used, or use
a boot floppy disk into DOS then Delete it.

After I boot into DOS from a boot floppy disk how is DOS going to find the
file on my NTFS formatted hard drive?

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Thanks thousands. I have started in safe mode. I have followed the
second method.

del /a /f c:\"document& settings"\username\desktop\CA2JCDA7.*

Thanks
 
Alan said:
A DOS sessin in XP sits on top of Windows- so if the file was in use it is
still in use.

No such thing as a DOS session sitting on top of Windows in Windows XP.
Windows XP is not like Windows 98. The command prompt is like a simulation
of DOS.
Run DOS, not a DOS session so it doesn't get loaded.

How do you delete a file on a NTFS formatted drive by using a DOS bootable
floppy?
 
Stephen Kleckner said:
Thanks thousands. I have started in safe mode. I have followed the
second method.

del /a /f c:\"document& settings"\username\desktop\CA2JCDA7.*

Thanks

You're most welcome Stephen and thanks for the feedback.
 
Back
Top