Discussion Locked

Removing read-only files

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way to remove or a program that can remove read-only files? I have one stuck in my computer that is infected. I have Windows 2000 Pro.

10 replies

by thechas

1. boot to a DOS prompt, navigate to the file and delete it.

2. Right click on the file, select properties, uncheck all 4 attributes R A S H
Click apply.
You should be able to delete the file.

If the file is on a network drive, you may not have permission to delete the file.

I have also seen problems when a files DOS name does not match it's long file name.

Chas

by bobho

w2k will delete read-only files unless the file is in use by a program. If you know it is infected then you must have an anit-virus app installed. Will the av app either quaranteen or delete the file when it is found to be infected?

If the file is being used then it is might be getting called during your startup process (many viruses do this so they are always active). Try starting in Safe Mode and then try deleting it. You will also want to remove the startup entry which is usually in the registry. Go to one of the anti-virus sites like Symantec, Panda or McAfee and search their kb articles for your particulr virus for instructions on removing.

Regards,

DrBob:>)

by acstech01

You should be able to delete it if you right-click
on the item, click "Properties," uncheck the
"Read-Only" attribute checkbox, and click "OK."
You might want to run Norton AV or a similar
product fi

by otl

1. Boot to DOS prompt.

2. Goto the directory it is located in, may need to use shortened versions of the directory (ie: MYDOCU~1 for MY DOCUMENTS)

3. type ATTRIB -r -A -S -H

4. DEL .
I prefer to back up the file to another directory or to a floppy, JUST IN CASE.

5. When you reboot you will probably get an error message that the file is missing.

This discussion is closed to new replies.