How can I delete a corrupt file?

  • Thread starter Thread starter Angela
  • Start date Start date
A

Angela

I have a very large TIF file that for some reason cannot
be moved/renamed/etc. and I don't need it, I want to
delete it, it is taking up alot of space. Is there a way
to get rid of this file even though it won't let me do
anything with it?
 
Most likely problems: the file attributes of the permissions aren't letting
you do those things. You should be able to see both by right-clicking on
the file and going to "Properties". You might need to "take ownership" of
the file on the Security->Advanced->Owner tab.
 
Either that or it is in use.

--
Richard McCall [MSFT]

"This posting is provided "AS IS" with no warranties, and confers no
rights."
Drew Cooper said:
Most likely problems: the file attributes of the permissions aren't letting
you do those things. You should be able to see both by right-clicking on
the file and going to "Properties". You might need to "take ownership" of
the file on the Security->Advanced->Owner tab.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


Angela said:
I have a very large TIF file that for some reason cannot
be moved/renamed/etc. and I don't need it, I want to
delete it, it is taking up alot of space. Is there a way
to get rid of this file even though it won't let me do
anything with it?
 
Hi, Angela.

Which version of Internet Explorer are you using? I've forgotten how it
worked in Win2K and IE5.x, but in IE6, we can click on Tools | Internet
Options... and manage Temporary Internet Files from the first (General) tab.
Including a button that says Delete Files...

TIF files don't follow normal rules and don't behave as we expect when we
try to use "normal" Windows tools on them.

RC
 
Actually, I've checked those properties, nothing is closed
about the file, it is not read-only. Yet when I try to
delete it I get a sharing violation error message--and the
file is not open.

Is there any way to clean out these files if the regular
way does not work? It is 127,000k TIF file.

thanks,
Angela
-----Original Message-----
Most likely problems: the file attributes of the permissions aren't letting
you do those things. You should be able to see both by right-clicking on
the file and going to "Properties". You might need to "take ownership" of
the file on the Security->Advanced->Owner tab.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


I have a very large TIF file that for some reason cannot
be moved/renamed/etc. and I don't need it, I want to
delete it, it is taking up alot of space. Is there a way
to get rid of this file even though it won't let me do
anything with it?


.
 
Sharing violation means that some process has the file open (like Richard
said). Since it's a .tif, the odds are pretty good that it's some kind of
image viewer/editor. Maybe even explorer (or some explorer add-in).

You should find out who has open handles on the file. Then you can stop
that process (or possibly un-focus if this is an explorer thingy) and
delete.

If you don't mind a reboot, you can try oh.exe (cmdline tool), downloadable
from Microsoft:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/oh-o.asp
Another option is to try handle.exe(cmdline tool) or Process Explorer (UI
tool) from SysInternals.com.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


Angela said:
Actually, I've checked those properties, nothing is closed
about the file, it is not read-only. Yet when I try to
delete it I get a sharing violation error message--and the
file is not open.

Is there any way to clean out these files if the regular
way does not work? It is 127,000k TIF file.

thanks,
Angela
-----Original Message-----
Most likely problems: the file attributes of the permissions aren't letting
you do those things. You should be able to see both by right-clicking on
the file and going to "Properties". You might need to "take ownership" of
the file on the Security->Advanced->Owner tab.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


I have a very large TIF file that for some reason cannot
be moved/renamed/etc. and I don't need it, I want to
delete it, it is taking up alot of space. Is there a way
to get rid of this file even though it won't let me do
anything with it?


.
 
How can that be when the computer is shut off and turned
on repeatedly? How do I find out about the "open handles?"

I am not familiar with any of the techniques you suggest.

Thanks,
Angela
-----Original Message-----
Sharing violation means that some process has the file open (like Richard
said). Since it's a .tif, the odds are pretty good that it's some kind of
image viewer/editor. Maybe even explorer (or some explorer add-in).

You should find out who has open handles on the file. Then you can stop
that process (or possibly un-focus if this is an explorer thingy) and
delete.

If you don't mind a reboot, you can try oh.exe (cmdline tool), downloadable
from Microsoft:
http://www.microsoft.com/windows2000/techinfo/reskit/tools /existing/oh-o.asp
Another option is to try handle.exe(cmdline tool) or Process Explorer (UI
tool) from SysInternals.com.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


Actually, I've checked those properties, nothing is closed
about the file, it is not read-only. Yet when I try to
delete it I get a sharing violation error message--and the
file is not open.

Is there any way to clean out these files if the regular
way does not work? It is 127,000k TIF file.

thanks,
Angela
and
confers no rights.


.
 
Back
Top