Discussion Locked

deleting a file

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how to delete a file which refuses to be deleted

9 replies

by fenaikh

Hi
Usualy these files are:
virus protected files which couldbe created over and over or system protected files.

1- Boot from a clean dos bootable floppy.
2- check for viruses with a good virus cleaner.
3- then kill it with c:\del filename.ext

Note :

Make sure about the file attribute use the command attrib filename.ext

if your partion FAT32 use a Win98 startu disk
to boot.

If you have NTFS the use the setup disk to boot.

Good luck

Mohamed

by techjj

Like the answer above, it is probably a system file that is in use. First try booting in safe mode and see if it can be deleted. If not then you must do it at bootup from DOS prompt (can't use the msdos prompt form windows as program will still be running).

by mike (from canada)

delete the file(s) in MS-DOS mode only and make sure the file is not in use first.
to use DOS mode, restart the computer and keep hitting F8 until a menu appears, and choose Safe mode, MS-dos prompt only.

by @lberto

That sounds very weird.
Make sure you don't want to delete a system file.
Restart your pc, press F8 when it is booting up, then go to MSDOS Prompt, look for the file and delete it.
Probably Windows locks the file.
Good luck,

@lberto

This discussion is closed to new replies.