{"id":976,"date":"2013-07-22T18:07:49","date_gmt":"2013-07-22T16:07:49","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=976"},"modified":"2013-07-22T14:16:49","modified_gmt":"2013-07-22T12:16:49","slug":"windows-cannot-read-from-the-source-file-or-disk","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-cannot-read-from-the-source-file-or-disk\/","title":{"rendered":"Windows: Error: Cannot read from the source file or disk, Could not find this item. This is no longer locate&#8230;"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_976 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_976')){$('.twoclick_social_bookmarks_post_976').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Error%3A%20Cannot%20read%20from%20the%20source%20file%20or%20disk%2C%20Could%20not%20find%20this%20item.%20This%20is%20no%20longer%20locate%26%238230%3B\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Adifficult%20Windows%20issue%20today.%20A%20user%20had%20the%20problem%20that%20he%20could%20not%20delete%20a%20Folder%20%28C%3A%5CTemp%5Corders%29%20%2C%20also%20renaming%20or%20moving%20is%20not%20possible.%20The%20same%20behaviour%20with%20the%20command%20line%20tools%20rmdir%2C%20ren%20and%20move.%0D%0AThe%20folder%20was%20created%20from%20Excel%20with%20a%20vba%20macro.%0D%0A%0D%0A%0D%0A%0D%0AThe%20error%20message%20was%3A%20Cannot%20delete%20file%3A%20Cannot%20read%20from%20the%20source%20file%20or%20disk.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-cannot-read-from-the-source-file-or-disk\\\/\",\"post_id\":976,\"post_title_referrer_track\":\"Windows%3A+Error%3A+Cannot+read+from+the+source+file+or+disk%2C+Could+not+find+this+item.+This+is+no+longer+locate%26%238230%3B\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>difficult Windows issue today. A user had the problem that he could not delete a Folder (C:\\Temp\\orders) , also renaming or moving is not possible. The same behaviour with the command line tools rmdir, ren and move.<br \/>\nThe folder was created from Excel with a vba macro.<\/p>\n<figure id=\"attachment_977\" aria-describedby=\"caption-attachment-977\" style=\"width: 362px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCannotReadFromSource.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-977 \" title=\"Error message: Cannot read from source file or disk\" alt=\"Error message: Cannot read from source file or disk\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCannotReadFromSource.png\" width=\"362\" height=\"119\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCannotReadFromSource.png 362w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCannotReadFromSource-300x98.png 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/a><figcaption id=\"caption-attachment-977\" class=\"wp-caption-text\">Error message: Cannot read from source file or disk<\/figcaption><\/figure>\n<p>The error message was: Cannot delete file: Cannot read from the source file or disk.<br \/>\n<!--more--><\/p>\n<p>No properties were shown in Explorer for this directory and the security tab is missing. It seems the folder isn&#8217;t present anymore. Is there a filesystem corruption? After a chkdsk run the folder is already present.<\/p>\n<p>I started cmd.exe an dived into the directory by using the tab key to complete the Foldernames automatically. And whats that:<\/p>\n<p><code>D:\\&gt;dir \"C:\\temp\\Orders \"<\/code><\/p>\n<p>There is a trailing space and the end of the directory name. Should this be the problem?<br \/>\nI tried to delete the folder with this command line:<br \/>\n<code>rmdir \"\\\\?\\C:\\temp\\Orders \"<\/code><\/p>\n<p>With the \\\\?\\ prefix I was able to delete the folder. The leading \\\\?\\ tells the Win32 API to bypass some integrity checks.<\/p>\n<p>I found out that Folders with a trailing &#8220;.&#8221; are also affected.<\/p>\n<p>It is repeatable on all Windows versions. Use the Perl mkdir function<\/p>\n<pre class=\"brush: perl; title: ; notranslate\" title=\"\">\r\n#!d:\\perl\\bin\\perl.exe\r\n mkdir &quot;C:\\\\temp\\\\Orders \\\\&quot;;\r\n\r\n<\/pre>\n<p>On Vista or higher versions the error message differs from the XP or Server 2003 ones:<br \/>\nCould not find this item. This is no longer locate in C:\\Temp. Verify the item&#8217;s location and try again.<\/p>\n<figure id=\"attachment_978\" aria-describedby=\"caption-attachment-978\" style=\"width: 398px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCouldNotFindItem.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-978 \" title=\"Error Message Could not find item\" alt=\"Error Message Could not find item\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCouldNotFindItem.png\" width=\"398\" height=\"221\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCouldNotFindItem.png 497w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/07\/WindowsCouldNotFindItem-300x166.png 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/a><figcaption id=\"caption-attachment-978\" class=\"wp-caption-text\">Error Message Could not find item<\/figcaption><\/figure>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, difficult Windows issue today. A user had the problem that he could not delete a Folder (C:\\Temp\\orders) , also renaming or moving is not possible. The same behaviour with the command line tools rmdir, ren and move. The folder was created from Excel with a vba macro. The error message was: Cannot delete file: &hellip; <a href=\"https:\/\/michlstechblog.info\/blog\/windows-cannot-read-from-the-source-file-or-disk\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Windows: Error: Cannot read from the source file or disk, Could not find this item. This is no longer locate&#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[246,244,103,245,199,89,249,250,252,104,247,248,251,20],"class_list":["post-976","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-cannot","tag-cannot-read-from-the-source-file-or-disk","tag-could","tag-could-not-find-this-item-this-is-no-longer-locate-in","tag-disk","tag-error","tag-file","tag-find","tag-item","tag-not","tag-read","tag-source","tag-this","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=976"}],"version-history":[{"count":11,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/976\/revisions"}],"predecessor-version":[{"id":989,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/976\/revisions\/989"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}