Deleting a corrupt file

Talk about computers, hardware, applications, and consumer electronics.
User avatar
Diagnosis Mohawk: Bahrain Cock Theory
Posts: 1405
Joined: 2008.09.23 (13:25)
NUMA Profile: http://nmaps.net/user/spawn_of_yanni
MBTI Type: ENFJ
Location: Pittsburgh

Postby Spawn of Yanni » 2009.02.27 (17:59)

I'm having trouble deleting a corrupt file in Opera's cache. Opera tries to delete it itself every time it starts up, giving me an annoying little pop up bubble thing telling me it can't be deleted every time I open the program.

So far, I have tried to delete it normally, by browsing to the file; I've tried deleting it in Safe Mode; I've run Chkdsk three times at varying levels of intensity with no luck; used a program called Unlocker to no avail; and tried to delete it using cmd, but got the same error message - "The file is corrupt blah blah".

I cannot move it, rename it, or gently caress it. I'm beginning to think that the only option left - aside from just letting the bubble pop up every freaking time - is to reinstall Opera and lose all my settings (would I?) but I'm hoping that you guys have any ideas.

Also, Vista.
Image
feline disrespect from behind

User avatar
Global Mod
Global Mod
Posts: 1416
Joined: 2008.09.26 (05:35)
NUMA Profile: http://nmaps.net/user/scythe33
MBTI Type: ENTP
Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Postby scythe » 2009.02.27 (18:35)

I don't know a whole lot about NTFS, but you could try defragging the disk, then deleting the file.

What I'm guessing is that the file metadata got messed up in such a way that the size is incorrect, which would mean that deleting the file might overwrite other files. You could try to change the filesize in Properties, but I don't know how to find the correct size.
As soon as we wish to be happier, we are no longer happy.

The number of Electoral College votes needed to be President of the US.
Posts: 282
Joined: 2008.10.07 (04:17)
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTJ
Location: Arizona, USA
Contact:

Postby Fraxtil » 2009.02.27 (22:54)

You might want to try deleting it from a Linux LiveCD, but I don't know whether that would work or not. Another thing you could try is using Eraser to delete it.

Also, could we see the exact error given by Windows (not Opera) when you try deleting it?

User avatar
Diagnosis Mohawk: Bahrain Cock Theory
Posts: 1405
Joined: 2008.09.23 (13:25)
NUMA Profile: http://nmaps.net/user/spawn_of_yanni
MBTI Type: ENFJ
Location: Pittsburgh

Postby Spawn of Yanni » 2009.02.28 (06:56)

The filesize claimed by Explorer is 0 bytes, scythe, but I don't know how to use Properties to change filesizes.

I've already tried using Eraser, but all that does is overwrite a file several times so it's unreadable (basically, it corrupts a normal file) and you can't overwrite a corrupt file.

The error in question is error 0x80070570, giving the message "The file or directory is corrupt and unreadable".
Image
feline disrespect from behind

User avatar
Depressing
Posts: 1977
Joined: 2008.09.26 (06:46)
NUMA Profile: http://nmaps.net/user/rennaT
MBTI Type: ISTJ
Location: Trenton, Ontario, Canada
Contact:

Postby Tanner » 2009.02.28 (13:20)

I had something similar once and the resolution I had was to boot to DOS, navigate to the folder and delete the file that way. Worth a shot?
Image
'rret donc d'niaser 'vec mon sirop d'erable, calis, si j't'r'vois icitte j'pellerais la police, tu l'veras l'criss de poutine de cul t'auras en prison, tabarnak

The number of Electoral College votes needed to be President of the US.
Posts: 282
Joined: 2008.10.07 (04:17)
NUMA Profile: http://nmaps.net/user/Fraxtil
MBTI Type: INTJ
Location: Arizona, USA
Contact:

Postby Fraxtil » 2009.03.01 (00:02)

Run chkdsk again, with /x and /f, from a windows recovery disk. If that doesn't solve it, I doubt anything but a reformat will.

User avatar
Albany, New York
Posts: 521
Joined: 2008.09.28 (02:00)
MBTI Type: INTJ
Location: Inner SE Portland, OR
Contact:

Postby jean-luc » 2009.03.02 (03:00)

1) try deleting the folder
2) defragment
3) chkdsk
4) use a recovery tool like R-Studio to 'restore' the file (all this will do is write size parameters to the file table), and you should then be able to delete it normally. This could very well result in deleting other things, though.
-- I might be stupid, but that's a risk we're going to have to take. --
Image
Website! Photography! Robots! Facebook!
The latest computers from Japan can also perform magical operations.

User avatar
Lifer
Posts: 1066
Joined: 2008.09.26 (18:37)
NUMA Profile: http://nmaps.net/user/EdoI
MBTI Type: INTJ
Location: Zenica, Bosnia and Herzegovina

Postby EdoI » 2009.03.09 (16:35)

Try this thing. It's awesome.
I think that Unlocker's window opens as soon as the 'Can't delete...' message jumps out, but I found it easiest to right-click the file, press Unlocker and choose option 'Delete'.

Edit: Reinstalling Opera will leave you your bookmarks, widgets etc. But that makes me think that reinstalling would also leave the same problems. Did you try Unlocker, and did it work for you?

User avatar
Global Mod
Global Mod
Posts: 1416
Joined: 2008.09.26 (05:35)
NUMA Profile: http://nmaps.net/user/scythe33
MBTI Type: ENTP
Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Postby scythe » 2009.03.13 (02:08)

Spawn of Yanni wrote:The filesize claimed by Explorer is 0 bytes, scythe, but I don't know how to use Properties to change filesizes.

I've already tried using Eraser, but all that does is overwrite a file several times so it's unreadable (basically, it corrupts a normal file) and you can't overwrite a corrupt file.

The error in question is error 0x80070570, giving the message "The file or directory is corrupt and unreadable".
Boot into Safe Mode and try to delete it again.
As soon as we wish to be happier, we are no longer happy.

User avatar
Diagnosis Mohawk: Bahrain Cock Theory
Posts: 1405
Joined: 2008.09.23 (13:25)
NUMA Profile: http://nmaps.net/user/spawn_of_yanni
MBTI Type: ENFJ
Location: Pittsburgh

Postby Spawn of Yanni » 2009.03.13 (06:07)

R-Studio hasn't worked, Unlocker doesn't do it (as mentioned in the OP), and going through Safe Mode didn't help either. I'm yet to try defragmenting or using a recovery disk because those are the big'uns, but it's looking like those are my last options. At present, I'm just living with that annoying little pop-up bubble. GRAAAAGH
Image
feline disrespect from behind

User avatar
Lifer
Posts: 1066
Joined: 2008.09.26 (18:37)
NUMA Profile: http://nmaps.net/user/EdoI
MBTI Type: INTJ
Location: Zenica, Bosnia and Herzegovina

Postby EdoI » 2009.03.13 (11:52)

Try deleting it with Revo Uninstaller, it will delete traces of anything it deletes. Before doing this, make a *.txt file where you write every bookmark of yours, so you don't lose it. If this doesn't work, try finding some registry removal software that will delete Opera's registry files (after you delete it with Revo Uninstaller). Also, set RU to advanced mode (I think that's how it's called).

User avatar
Retrofuturist
Posts: 3131
Joined: 2008.09.19 (06:55)
MBTI Type: ENTP
Location: California, USA
Contact:

Postby t̷s͢uk̕a͡t͜ư » 2009.03.13 (19:02)

Boot into Linux (or use Cygwin or something), find the file's memory address, and dd some /dev/null onto the bitch.
...then defrag your hard drive and/or sfc scan, because this is a pretty frickin' medieval approach.
[spoiler="you know i always joked that it would be scary as hell to run into DMX in a dark ally, but secretly when i say 'DMX' i really mean 'Tsukatu'." -kai]"... and when i say 'scary as hell' i really mean 'tight pink shirt'." -kai[/spoiler][/i]
spoiler

Image


User avatar
Bayking
Posts: 315
Joined: 2008.10.01 (20:26)
NUMA Profile: http://nmaps.net/user/exuberance
Location: Guelph, Ontario, Canada

Postby Exüberance » 2009.04.24 (22:15)

I really really doubt this will work since replacing files doesn't actually necessarily overwrite that location on disc (and even if they did, the files would be different sizes so it wouldn't work), but you could try creating a blank file of the same name, then copying it to that directory. You'll probably get the same error, but it's worth a shot. It might just tell your OS to go to the new file instead and that should solve your problem. But, yeah that will probably give you an error. *shrug*

I haven't used cygwin much, but if dev/null/ does what I think it does (overwrites everything between 2 locations with NULL ignoring all types of termination characters) that's probably the most likely thing to work. If Tsukatu's suggestion doesn't work, I don't know what will. Possibly throwing the hard disk into a volcano?
ExüberNewsFeed: Exuberance is mostly <AFF> (Away From Forums) for a while, though I may still participate in epic contests/threads. When I return, I shall bring several comic updates (enough to finish season 1) and hopefully 1 or 2 games- at least one of which is N-related
Comic Activity-O-Meter: (how often I'm updating my comic)
(Click here to see what each level and half-level means in terms of updates per time period)

NOTE: If I just add a bunch of comics in one day, but plan on going back to normal after that, I probably won't update the status.
+ Dead: Canceled. Done. Maybe you'll get a random comic like once a year, but it's pretty much done.
- Zombie (Dead/Comatose): The comic is probably done regular updates forever, but I'll probably still add something once in a blue moon. It's still POSSIBLE, that I'll raise the status up, but not very likely. Maybe I'll have a comicplosion for like a week, then go back to being dead
+ Comatose: Complete stand-by. No (or very few) updates for some amount of time, but the comic's far from being over
- <AFK> (Comatose/Loitering): Stand-by, but you might possibly count on a few updates once and a while. Again, this is temporary
+ Loitering: Like comatose, but for short amount of times.
- Turtling (Loitering/Semi-Active): Really slooooww updates
+ Semi-Active: One every 2 weeks...ish?
- Quasi-Active (Semi-Active/Active): Averaging about 2 comics every 3 weeks
+ Active: Loosely defined status, but about a weekly update
- Over-Active (Active/Power-leveling): About 2 comics a week
+ Power-leveling: About 3 comics a week. Possible a schedule, possibly not
- Über-Epic (Power-leveling/COMICPLOSION!!): In some cases, this may actually be mean updates more frequently than COMICPLOSION!!, but I'm defining this level as a non-organized comic rush, kind of like a few days after my comic started
+ COMICPLOSION!!: Daily updates for a minimum of 5 days (since the daily updates started. It remains at this status until the 5, 7, whatever days are done)

Image
"Science without religion is lame. Religion without science is blind." ~Albert Einstein
My N+ Vector Sprite Sheet ::: My Caption Contest ::: My Comic :::Puzzles of the Exuberant ::: DEFEND YOUR NINJA: THE FLASH GAME (Release Date TBA)
Image
Exüberance on WoW
Image
Maps in the Fernat Epic (so far): (meh, let's put this in a spoiler too. My sig's gettin too big. I'm such a packrat :p)

Nmaps.netNmaps.net


User avatar
Retrofuturist
Posts: 3131
Joined: 2008.09.19 (06:55)
MBTI Type: ENTP
Location: California, USA
Contact:

Postby t̷s͢uk̕a͡t͜ư » 2009.04.24 (23:04)

Exüberance wrote:Possibly throwing the hard disk into a volcano?
Mm, indeed. The file would, in fact, be gone.
[spoiler="you know i always joked that it would be scary as hell to run into DMX in a dark ally, but secretly when i say 'DMX' i really mean 'Tsukatu'." -kai]"... and when i say 'scary as hell' i really mean 'tight pink shirt'." -kai[/spoiler][/i]
spoiler

Image



Who is online

Users browsing this forum: No registered users and 11 guests