{"id":160,"date":"2012-12-07T21:43:38","date_gmt":"2012-12-08T05:43:38","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=160"},"modified":"2012-12-07T21:43:38","modified_gmt":"2012-12-08T05:43:38","slug":"windows-cannot-delete-folder","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/windows-cannot-delete-folder\/","title":{"rendered":"Windows cannot delete folder"},"content":{"rendered":"

I recently had a folder in Windows 7 64-bit that I could not delete. \u00a0The message was \"cannot find this item<\/span>\".<\/p>\n

Although I could see the folder in Linux I still could not delete it. \u00a0It was possible to delete the folder from the Windows command prompt and using the Windows short name.<\/p>\n

 <\/p>\n

Looking at the folder from Linux:<\/strong><\/p>\n

$ ls -l\r\nls: cannot access ubuntu110.10 : No such file or directory\r\ntotal 20\r\ndrwxrwx--- 1 root vboxsf 4096 Oct 30 20:10 u12.10\r\n?????????? ? ? ? ? ? ubuntu110.10\r\ndrwxrwx--- 1 root vboxsf 4096 Nov 3 11:13 Ubuntu_12.04\r\n\r\n<\/pre>\n

 <\/p>\n

Use dir \/x to see short name:<\/strong><\/p>\n

\r\n\r\nE:\\disks>dir \/x\r\n Volume in drive E is DATA\r\n Volume Serial Number is 1181-C4F1\r\n\r\nDirectory of E:\\disks\r\n\r\n12\/08\/2012 10:18 AM <DIR> .\r\n12\/08\/2012 10:18 AM <DIR> ..\r\n10\/30\/2012 07:10 PM <DIR> u12.10\r\n12\/08\/2012 10:30 AM <DIR> UBUNTU~1.10 ubuntu110.10\r\n...\r\n 0 File(s) 0 bytes\r\n 8 Dir(s) 69,553,127,424 bytes free\r\n\r\n<\/pre>\n

 <\/p>\n

Remove folder using short name:<\/strong><\/p>\n

\r\n\r\nE:\\disks>rmdir UBUNTU~1.10\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

I recently had a folder in Windows 7 64-bit that I could not delete. \u00a0The message was “cannot find this<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}