Thread Closed

Deleting a file that "can not read from the source file or disk"

 
Share Thread Thread Tools
Jul3-08, 10:58 AM   #1
 

Deleting a file that "can not read from the source file or disk"


I downloaded a torrent file the other day and half way through the download i decided i didn't want to finish downloading so i deleted the file using a command prompt on bittorrent. Now the file (which is on my desktop) is deleted since it's at 0 bytes but the shortcut is still there, it's just a blank shortcut with no specified program and no matter what I've done so far I cannot get it to delete without the computer claiming that it "can not delete file: can not read from the source file or disk."

I've tried restarting in safe mode, running disk defragmenter along with various clean up programs, and system restore is not an option because i usually never create a restore point to save drive space. So basically I'm all out of ideas and I have this nasty shortcut sitting on my desktop that will not go away.

Does anyone have any ideas on what to do?
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Galaxies fed by funnels of fuel
>> The better to see you with: Scientists build record-setting metamaterial flat lens
>> Google eyes emerging markets networks
Jul3-08, 11:25 AM   #2
 
Recognitions:
Gold Membership Gold Member
Right-click on the shortcut, then choose "Properties" and see if the file is read-only. If so, uncheck that and delete it.

Note: I am assuming that you have tried to drag the file to the trash bin.
Jul3-08, 11:26 AM   #3
 
Blog Entries: 47
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Can you delete it from the command shell (cmd.exe)?

You might try booting with a linux livecd (like Knoppix) and deleting the file. [You may have to mount the drive and make it writable.]
Jul3-08, 12:12 PM   #4
 

Deleting a file that "can not read from the source file or disk"


oh actually i havent tried deleting it with a command shell. i'm not very familiar with cmd prompt so idk how to take it to my desktop to delete it
Jul3-08, 12:51 PM   #5
 
Blog Entries: 47
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Start -> Run -> cmd.exe

cd Desktop
del YourFile
You may be able to the Tab-key to complete the filename after your start it off.
Jul3-08, 01:14 PM   #6
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
You may need to run a filesystem-consistency check, like chkdsk.

- Warren
Jul3-08, 01:19 PM   #7
 
Another tip is to start up in safe mode.
Jul3-08, 02:10 PM   #8
 
Tried safe mode, unfortunately it didn't work. And I used the command prompt (thanks robphy) and it showed the file when i hit tab but when i went to delete it I got could not find "File Name".
Jul3-08, 02:17 PM   #9
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
It's possible that the file has either hidden characters in the name, or the file system has become corrupted (is this ntfs?)
If you tried safe mode it's unlikely that the file is in use.

You need a tool to flag a file as 'delete on next boot', your virus scanner should be able to do this, otherwise look at http://ccollomb.free.fr/unlocker/
Jul3-08, 02:49 PM   #10
 
Blog Entries: 47
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
relevant?
http://forum.notebookreview.com/showthread.php?t=164274
Jul3-08, 04:18 PM   #11
 
It's very possible that the item you're trying to delete is currently running as a process; You can't delete things that are currently running. What you can do is press ctrl+alt+del, click on processes, find the process which fits your file, end the process, then you can delete the file.

Some viruses have weird process names, different than that of the file you're trying to delete, so you need to find which process it is.

Or, you can boot into safe mode. In safe mode no personal processes should be running and you should be free to delete.
Jul3-08, 05:36 PM   #12
 
Quote by only_huce View Post
Tried safe mode, unfortunately it didn't work. And I used the command prompt (thanks robphy) and it showed the file when i hit tab but when i went to delete it I got could not find "File Name".
Check task manager, it might be linked to an app that's running at startup.
Jul3-08, 05:50 PM   #13
 
Admin
Quote by only_huce View Post
Now the file (which is on my desktop) is deleted since it's at 0 bytes
If it is at 0 bytes it is not deleted, it is just an empty file of zero length. As such it can be linked to. Not that the file existence should interfere with the link deletion.
Jul3-08, 11:24 PM   #14
 
Quote by mgb_phys View Post
It's possible that the file has either hidden characters in the name, or the file system has become corrupted (is this ntfs?)
If you tried safe mode it's unlikely that the file is in use.

You need a tool to flag a file as 'delete on next boot', your virus scanner should be able to do this, otherwise look at http://ccollomb.free.fr/unlocker/
Wow, the unlocker program you linked me too worked like a charm. It deleted it without even rebooting. I had previously tried other programs which supposedly do the same thing and none of them proved successful.

Thanks to everyone who posted on this thread for helping me out with this, I really appreciate it.
Thread Closed
Thread Tools


Similar Threads for: Deleting a file that "can not read from the source file or disk"
Thread Forum Replies
program to read file Programming & Comp Sci 5
"Size and Destiny of the Universe"---nice JPG file Cosmology 11
Word: won't autosave - "file in use" Computing & Technology 2
URGENT: ".GPM" file format Computing & Technology 0
Make a Pdf file into an ordinary web file (html file)? Computing & Technology 3