Discussion Locked

How to delete a bad file from hard drive

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

One of our users has an Excel 5.0 file that shuts the programs down whenever it is opened. The file was copied to a disk and can be successfully opened from that location, but the file on the hard drive continues to shut Excel down when accessed. I would like to delete the file entirely from the hard drive, but when I attempt to do so, I get an error message telling me the file cannot be deleated because it does not exist. I have also tried to rename the file, but get the same message.

I need to get this file off of the hard drive, and I would really like to get some thoughts on why it could be copied to the disk and runs from there, but will not work on the hard drive.

7 replies

by syscokid

Try booting to DOS and deleting it.

I have no idea why it works on the floppy but not the hard drive.

by hamiltonreps9aa

You could try to delete it from the registry..Run regedit ..Click edit ..Find..Type in the name of the file.Then delete it ..Do this a few times until all instances of it are out..Reboot system.

by ann777

I got this exact same error and problem.

Remove all your *.tmp files. The problem is that the file is "opened" as a temp file on the hard disk drive. Every time you try to open it again, it crashes. Every time you try to delete it, it cannotfind the file; because it is only on the hdd as a temp file now. When you try to open it from floppy, it is fine because you are telling the computer to open it at that location.

Do a start --> Find --> *.tmp and locate all temp files on your c:(including subdirectories) hdd. Then sort by date and highlight files without today's date. And delete them all. Then you should be able to copy the floppy disk version back to the hdd... and not have any problem.

This discussion is closed to new replies.