Quote:
Originally posted by MahlerIsGod
Unfortunately, that didn't work. It is still on my system. That comment above about bad sectors on my disk has got me thinking that I should do some maintence work on this drive: check for errors, defrag, etc. Maybe that will work? Possible? Thanks though for the suggestions.
|
To fix disk errors, run Scandisk if you're using Win95/98/98SE or run:
CHKDSK /F
from the command line in Win2k or XP.
CHKDSK /R will also perform a surface scan but that could take a while.
*Do Not Defrag* if you suspect any disk errors, that could make them worse! All defrag does is speed up disk access time, it does not fix errors at all and will very likely make them worse if they aren't detected.
You said that even deleting this folder in Safe Mode doesn't work, so see if you can reset the file permissions. If there's still no luck, and you're comfortable with the command line, try the following:
Ignore the rest here if you aren't very experienced with the DOS commandline -- all this may be a little complicated. But it's a neat trick if you understand what's going on here -- one last trick would be to see if you can run cmd.exe under SYSTEM privileges instead of normal user privileges, and set permissions or delete the files from the command line in the SYSTEM context. It gives you more permissions and will let you do some things that Windows normally wouldn't let you do otherwise, so while it could be useful it also could be dangerous, but it will probably work. To do this, type:
AT 16:00 /INTERACTIVE CMD.EXE /K
at the command-line.
This means that at 4:00pm (choose some time a minute or 2 away, military time) the AT scheduler will pop up a new cmd.exe window but this time it will be running as a SYSTEM process. Then in this new window that pops up, you can delete those files or use the cacls command to edit the folder permissions, and then delete using Explorer or something. For example, type:
cacls "c:\bad folder\" /t /e /g Administrators:f
in this new window to grant Full Control to the Administrators group for the folder (replace "c:\bad folder" with the path of the folder in question). Then if you're logged on as Administrator you should then have the permissions to delete that folder.
Another example, Here's how I would do this for My Documents on my own computer specifically:
cacls "E:\Documents and Settings\user\My Documents" /t /e /g Administrators:f
Or do what
Dragonlich said.
Good luck!