Advertisement

can't delete a file

Started by August 07, 2002 02:19 AM
8 comments, last by oni_viper 22 years, 4 months ago
any ideas on a file that will not delete.
oops...
In Windows, right click on the file, go Properties, and make sure it isn''t set to Read-only.
Advertisement
You should be able to delete a read only file (Windows just warns you first). Most likely the file is in use by a running process or possibly it''s gotten cross linked. I usually try a quick reboot, and if that doesn''t work I do a reboot in safe mode.

Beyond that you''re into brute force methods with third party programs, but you should probably figure out the cause of the problem before just blindly decimating the symptoms.
SysOp_1101
try shutting down windows then deleting the file.
i think the file handle is open while windows is running.

Its my duty, to please that booty ! - John Shaft
i''ve tried clicking off the read-only. but the stupid thing automatically turns it back on. i''ll try the reboot later. hope it works. thanks.
oops...
try deleting it from a dos prompt.
Advertisement
Just out of curiosity, you know for sure what that file is (wouldn''t want to delete something that''s potentially needed).
SysOp_1101
What version of windows is this? If it''s 2000 or XP, You might not have sufficient privileges to delete the file.

If I had my way, I''d have all of you shot! codeka.com - Just click it.

goto dos, the real dos c:\del \
or was the keyword delete?

.lick
Windows should generate an error message.

This will tell you what is wrong.
It could be:

1. An application that is running is using that file (like if I delete a C++ project when I''m editing it in VC++).

2. The file is protected from deletion or is a system file (like if you try to remove "startup" from the help menu).

3. Your administrator has blocked access to deleting that file (quite common on WINNT networks but this will ONLY occur if you are on an LAN without high-level access)

4. Some other abstract reason I have not encountered.

This topic is closed to new replies.

Advertisement