Featured Posts

My new mini monster: X-mini Am excited to show you  my new mini monster. :) Yesterday, while  roaming around in  Dubai mall, I just visited an electronics showroom, where i found X-mini. X-mini, is a Capsule Speaker,...

Readmore

Smart advertisement When I started this blog, I was thinking about writing not only tech related posts, but something different. Always wanted to do that, but may be due to my profession, or am always looking for stuffs related...

Readmore

An excellent search for outlook:xobni Am not a big fan of Outlook, but sometimes need to use it, for some old email archive search and the default search in outlook sucks! I wanted to search some emails in outlook recently, and I tried...

Readmore

Unison: A Free unified communication system Few days back, I was searching for a PBX system for my friend, which is free, and found this wonderful product which is not only a pbx system, but a complete communication platform. Unison is a Linux...

Readmore

From a Distressed Dubai Metro Gold Class Commuter Having decided to take the Dubai Metro for what was supposed to be a leisurely trip on a Friday night turned out to be an unpleasant experience. I am sharing this experience to everyone as this can be...

Readmore

  • Prev
  • Next

Solution for one of the most annoying problem in windows

Posted on : 07-04-2009 | By : Ambarish | In : Computer

0

One of the most annoying problem in windows: You can see in windows shared folders, having a lot of files that cannot be deleted. When we try to delete the files, we get this, “Error Deleting File or Folder – Cannot delete file: Cannot read from the source file or disk“.
I used to see this in my shared drive but was unable to delete it till now. Thanks to Varun , my colleague, who is my favorite, as he brings up strange issues, which i have never seen! This windows issue is an exception. :)
He used to hunt me till i solve this. :) But since he bugged me a lot, i finally decided to search for a way to delete this.
And yes, i found it. These folders are created, because of a MAC. When a MAC user access these folders, Macs write all sorts of meta data to extra “._DSStore” files and suchlike and had left this file behind. So to delete these files/folders you can use a simple DOS command:

del "\\?\C:\Temp\test\file_you_want_to_delete"

If you want to delete a folder, use the following:
rd /s "\\?\D:\Annoying Folder."

Using this command, i managed to delete Varun’s folder, which was annoying him, and me too!
Thanks once again Varun. :)

If you enjoyed this post, make sure you subscribe to my RSS feed!

Write a comment