File that cannot be deleted


by mathman
Tags: deleted, file
JaredJames
JaredJames is offline
#19
Feb23-11, 03:58 PM
P: 3,390
Quote Quote by mathman View Post
When I tried the safe mode, I said I was the administrator, but it didn't do any good.
Seriously, have you tried the boot disc? If the boot disc for Linux can't get rid of it you'll have to format it.
caffenta
caffenta is offline
#20
Feb24-11, 12:20 AM
P: 163
Quote Quote by jarednjames View Post
Seriously, have you tried the boot disc? If the boot disc for Linux can't get rid of it you'll have to format it.
Or he could just forget about the file and go skiing or something. As far as I can tell from reading the thread, the file isn't causing any trouble. If it ain't broke, yada yada...
hamster143
hamster143 is offline
#21
Feb24-11, 03:17 AM
P: 986
Scan the disk for errors.
JaredJames
JaredJames is offline
#22
Feb24-11, 03:59 AM
P: 3,390
Quote Quote by caffenta View Post
Or he could just forget about the file and go skiing or something. As far as I can tell from reading the thread, the file isn't causing any trouble. If it ain't broke, yada yada...
If it's there and can't be deleted, it most certainly is broke (assuming he's gone down the usual routes to check it isn't being used - which I doubt seeing as he doesn't seem to be trying the solutions posted).
Pattonias
Pattonias is offline
#23
Feb24-11, 09:54 AM
Pattonias's Avatar
P: 378
I would point out that the most likely reason that he can't delete the file is that it is being used by a program from boot. If he uses a boot-drive to kill it which is almost guaranteed to work, if it hasn't been carved into his hard disk by tiny chisel wielding gnomes, there is the possibility he will stop something from working.

Since it is located in his TEMP folder, that leads me to think that it is the cache for something. Most likely the web-browser. If he should delete that then it will just create a new one when he starts up the browser again.
JaredJames
JaredJames is offline
#24
Feb24-11, 09:58 AM
P: 3,390
Quote Quote by Pattonias View Post
Since it is located in his TEMP folder, that leads me to think that it is the cache for something. Most likely the web-browser. If he should delete that then it will just create a new one when he starts up the browser again.
That's actually why I'm not bothered about it being deleted via a more 'forceful' method.

Any other location outside the TEMP folder I'd be concerned.
Pattonias
Pattonias is offline
#25
Feb24-11, 10:01 AM
Pattonias's Avatar
P: 378
Good point. Do you have an XP PC jared?

I tried following the string on W7, but it doesn't relate. You would think it would still work on most windows machines since they usually don't change up the structure that much between upgrades. Could you find a similar location on your own PC?
JaredJames
JaredJames is offline
#26
Feb24-11, 10:13 AM
P: 3,390
I use Ubuntu.

It's a hidden folder, so you may need to check for that.

I used Windows 7 for a while and if I remember correctly the equivalent on it would be something like: "C:\Users\Herb\Appdata\Local"

Follow that path and it should point you in the right direction. Still hidden though so enable that.

XP does have the folder indicated by the OP (the local settings one that is), so that in itself isn't a problem.
Pattonias
Pattonias is offline
#27
Feb24-11, 10:38 AM
Pattonias's Avatar
P: 378
I managed to find one of my Temp folders in the way you described, I was just hoping to find it using the same path. Maybe I can find it that way on a school machine. I figured if I could find it, I may be able to determine which programs are using that temp folder.

On my machine at home, my temp folder has been moved to a RAM disk and I generally direct all my temp files/folders to that one drive.
mathman
mathman is offline
#28
Feb24-11, 05:06 PM
Sci Advisor
P: 5,935
Quote Quote by jarednjames View Post
If it's there and can't be deleted, it most certainly is broke (assuming he's gone down the usual routes to check it isn't being used - which I doubt seeing as he doesn't seem to be trying the solutions posted).
Just to clarify some things. The file is date and time stamped, so I know exactly when it happened and what I was doing (I was in the math forum of physicsforum). I did try safe mode, which didn't work. I don't have Linux and I am wary of starting with another operating system. I am also very reluctant to do a complete cleanup of my disk.

I have a program called unlocker assistant, which will in all cases (except this one) point out when a file is in use by another program so that it can't be deleted. However unlocker assistant can delete it when I want to. For the particular file under discussion, unlocker assistant doesn't respond at all.
JaredJames
JaredJames is offline
#29
Feb24-11, 05:27 PM
P: 3,390
Why are you worried about booting another OS? Linux runs straight from the CD so you don't have to install it.

Put it in, remove the file, shut down, job done.
Pattonias
Pattonias is offline
#30
Feb24-11, 05:29 PM
Pattonias's Avatar
P: 378
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.
JaredJames
JaredJames is offline
#31
Feb24-11, 05:32 PM
P: 3,390
Quote Quote by Pattonias View Post
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.
Correct.
hamster143
hamster143 is offline
#32
Feb24-11, 06:52 PM
P: 986
Quote Quote by Pattonias View Post
I agree, the Linux method is guaranteed to fix it, and you don't have to wipe your drive. I think on the boot screen it will say "try out linux" or something to that effect and you can run it without installing it on your hard disk.
The Linux method may work as far as it will remove the file, but you're just asking for more problems down the road. The underlying issue is, evidently, the filesystem corruption, and that's what you have to fix in order to delete the file properly. Going in with a third-party filesystem driver and forcibly removing it will only increase the corruption.
JaredJames
JaredJames is offline
#33
Feb24-11, 07:03 PM
P: 3,390
Quote Quote by hamster143 View Post
The Linux method may work as far as it will remove the file, but you're just asking for more problems down the road. The underlying issue is, evidently, the filesystem corruption, and that's what you have to fix in order to delete the file properly. Going in with a third-party filesystem driver and forcibly removing it will only increase the corruption.
I'm not denying it could be down to a larger problem, but it's only one file.

One error is not a sign of file system corruption. It's a glitch in the registry at best.

I've had windows 'forget' about files a number of times, it's not a sign of a major issue and only required the Linux method to solve - I checked the registry with a number of systems for any problems and none were found. Frankly, given the number of files being dealt with it's really not surprising that the OS has a glitch like this every now and then.

It doesn't matter what software you use to wipe out the file. Otherwise that would mean plugging my external hard drive initially used with windows into my linux machine is dangerous and risks severe corruption.

Technically, you're not forcibly removing the file. You're doing a normal delete operation. The only risk involved is ensuring you're not removing a required windows file.
mathman
mathman is offline
#34
Feb25-11, 04:26 PM
Sci Advisor
P: 5,935
I don't have a linux CD. Is there a source online?
hamster143
hamster143 is offline
#35
Feb25-11, 10:12 PM
P: 986
Quote Quote by jarednjames View Post
I'm not denying it could be down to a larger problem, but it's only one file.

One error is not a sign of file system corruption. It's a glitch in the registry at best.

I've had windows 'forget' about files a number of times, it's not a sign of a major issue and only required the Linux method to solve - I checked the registry with a number of systems for any problems and none were found. Frankly, given the number of files being dealt with it's really not surprising that the OS has a glitch like this every now and then.

It doesn't matter what software you use to wipe out the file. Otherwise that would mean plugging my external hard drive initially used with windows into my linux machine is dangerous and risks severe corruption.

Technically, you're not forcibly removing the file. You're doing a normal delete operation. The only risk involved is ensuring you're not removing a required windows file.
Registry has absolutely nothing to do with it. If the file is not in use, but you still can't delete it or even access its properties, something must be wrong with the file system.

It does not matter what software you use, as long as the file system is OK. If you expect to see two different outcomes from the delete operation in Windows and in Linux, then evidently the file system is not OK, but maybe the Linux driver handles abnormal situations in a different way from the Windows driver.

Here's a simple analogy. You want to get a book off the book shelf. In the normal circumstances, books stand next to each other and can be pulled individually, and anyone can take any book without any problems.

You send your servant to that book shelf and he comes back and says "I can't get it easily, other books are in the way". Your solution is to find a more obedient servant. He'll bring you the book, but possibly at the expense of creating a big pile of books on the floor (maybe books were stacked vertically for some reason, and the book you wanted was at the bottom of the stack.) The correct solution is to send a servant to put the books in order.
hamster143
hamster143 is offline
#36
Feb25-11, 10:13 PM
P: 986
Quote Quote by mathman View Post
I don't have a linux CD. Is there a source online?
You can download a bootable USB drive with Linux on it from ubuntu.org.


Register to reply

Related Discussions
using a batch file to create NAMELIST input file for FORTRAN Programming & Computer Science 0
how can Capture Text form image file and save it as txt file or word file Computers 2
Make a Pdf file into an ordinary web file (html file)? Computing & Technology 3
My network directory file synch batch file thing :) Computing & Technology 2
Checking In Songs - Can You Save Onto Hard Drive If Original Song File Deleted? Computing & Technology 1