issue in deleting files from windows search results - cannot read from source file or disk
I faced a strange issue while trying to delete files from windows search results.My idea is to delete all the image files from my computer,so for this i opted windows search option,i tried to search 'Pictures and Photos' from mycomputer,it had given me a list of files.I sticked the traditional idea of doing ctrl-a shift-delete,but end up seeing the below exception.
Solution:
Right click on the file, open the containing folder and started deleting all files from that folder using the traditional way of ctrl-a shift-delete,it worked !!!.
Do this process repeatedly to delete all the files.I believe there is no other easy way for this :)
Thanks for sharing this posting If you dont mind i have a suggestion,Follow me
ReplyDeleteDo you have error messages?, like :
* Path too long
* Error cannot delete file: cannot read from source file or disk
* Cannot delete file: Access is denied
* There has been a sharing violation.
* Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.
* The source or destination file may be in use.
* The file is in use by another program or user.
* Error Deleting File or Folder
* Make sure the disk is not full or write-protected and that the file is not currently in use.
* Error Copying File or Folder.
* Cannot remove folder.
* The filename or extension is too long.
* Path too deep.
* Destination Path Too Long.
* Could not find this item.
* Filename is not valid.
* The file could not be accessed.
* The path you entered, is too long. Enter a shorter path.
* File Name could not be found. Check the spelling of the filename, and verify that the file location is correct.
If yes, our progam will be helpful for you. Fix filename too long, filename is too long, too long path and path too long problems forever.
Long path tool
I had the similar problem and faced it a lot of times. I often solve this type of problems using "Long Path Tool". It helped me in solving this error and all related errors.
ReplyDeleteThis is a Windows* OS/file system issue.The cause is
ReplyDeletedirectory paths on the drive is longer than 255
characters (including spaces).There's a lot of
additional softwares which can fix this problem like
like Long Path Tool.
http://PathTooDeep.com
great ! ,thanks all of you for the suggestions
ReplyDeleteTry and download " Long Path Tool " is also useful in situations where you see these error messages: Cannot read from source file or disk, there has been a sharing violation, cannot delete file or folder, the file name you specified is not valid or too long, the source or destination file may be in use and many other file managing errors.
ReplyDelete