If you’ve been using Windows for as long as I have, you have probably run into your share of weird error messages. One that I got recently when trying to delete a file was:

Could not find this item. This is no longer located in X. Verify the item’s location and try again.

This was a strange problem because I didn’t know if the file actually existed or not. Was it already deleted or not? And why was Windows showing the file located in that folder if it really wasn’t there? Kind of made me wonder if my hard drive was running ok or not.

The first thing I did was to run a chkdsk expecting some hard drive errors. Oddly enough, it showed that the hard drive was perfectly fine. I also ran some additional diagnostics just to make sure the hard drive was functioning properly, which then made me realize it was some issue with Windows 7.

After playing around with various solutions, I was able to delete the “missing” files. Hopefully, one of the methods below will work for you.

Method 1 – F5 to Refresh

The first thing to try is to simply press F5 while viewing the folder in Explorer. F5 refreshes the view and if it was stuck for some reason, those files may just disappear on their own. If F5 doesn’t do anything, you should also try to restart the computer once and see if that removes the previously deleted files.

Another thing to look at is how much RAM you have available on your system. Some people have written that if they have numerous RAM intensive applications running at the same time, this problem has been seen to occur. Try closing a few programs, etc and press F5 to refresh the folder.

Method 2 – Delete File/Folder Using Command Prompt

If you are unable to remove the file using Explorer, you might have better luck using the command prompt. Open a command prompt by going to Start and typing in CMD.

Now browse to the folder where the unusual files are located. You can go to the root of the drive by typing in cd /, followed by cd foldername to navigate into directories. Once you are there, type in dir to get a listing of all the files. To delete a file type del “filename” like below:

If you are trying to delete a folder instead of a file, the commands you will use is rmdir instead of del. Note that you have to put quotes around the file name if it has spaces in it. If this didn’t work, you can also try another method by deleting the file using DOS 8.3 file name instead of the normal file name. Instead of typing dir, type in dir /x and you’ll see this:

To delete the item, type in the 8.3 name, which is my case was THISIS~1.txt. Make sure you type the first part in all caps. The file extension can be in lowercase. Hopefully, that will get rid of your lost file.

Method 3 – Rename Using Command Prompt

Very similar to Method 2, but instead of deleting, you can try renaming. Some people can’t even delete the file or folder using the command prompt and this may be caused by having a really long name for the file/folder or having some strange characters in the name. Anyway, the command is simply:

ren olderfoldername newfoldername

As in Method 2, you want to do a dir /x to get the 8.3 filename and use that for the older folder name. Then use a short name for the new folder name. Once it is renamed, then you should be able to delete it using Explorer or the command prompt.

Method 4 – Create Temporary Folder

The other thing you can try that has had some success is to create a new folder, then drag the odd files/folders into the new folder and then to delete that newly created folder with the files in it. For whatever reason, moving the files out of their current folder seems to make them deletable again.

Method 5 – Use DelinvFile Tool

If NOTHING else will delete the file, then you can use a free tool called DelinvFile that does just that: deletes invalid files in Windows Vista and 7.

http://www.purgeie.com/delinv/

That’s about it! I really could not find any other way to get rid of those pesky invalid files! If you have a question or a different solution, post a comment! Enjoy!

Fix “Could Not Find This Item” When Deleting in Windows 7的更多相关文章

  1. How to: Fix a network printer suddenly showing as offline in Windows Vista, 7 or 8 « Robin's Blog

    This post has become quite popular – so I've updated it with a bit more detail, plus some people's e ...

  2. Fix Windows 7 Msvcp71.dll And Msvcr71.dll Missing Error

    Fix Windows 7 Msvcp71.dll And Msvcr71.dll Missing Error Fix Msvcp71.dll And Msvcr71.dll Missing Erro ...

  3. npm audit fix 报错

    found 2504 vulnerabilities (1360 low, 1109 moderate, 29 high, 6 critical)  run `npm audit fix` to fi ...

  4. COM Error Code(HRESULT)部分摘录

    Return value/code Description 0x00030200 STG_S_CONVERTED The underlying file was converted to compou ...

  5. AlgorithmsI PA2: Randomized Queues and Deques RandomizedQueue

    RandomizedQueue 有几个关键点: 1. 选择合适的数据结构,因为需要任意位置删除元素,Linked list 做不到,必须使用resizing arrays. 2. resizing 的 ...

  6. Servlet - Upload、Download、Async、动态注册

    Servlet 标签 : Java与Web Upload-上传 随着3.0版本的发布,文件上传终于成为Servlet规范的一项内置特性,不再依赖于像Commons FileUpload之类组件,因此在 ...

  7. JQuery Option 排序

    <script type="text/javascript"> $(document).ready(function () { $("select" ...

  8. Java基础加强-(注解,动态代理,类加载器,servlet3.0新特性)

    1.   Annotation注解 1.1.  Annotation概述 Annotation是JDK 5.0以后提供对元数据的支持,可以在编译.加载和运行时被读取,并执行相应的处理.所谓Annota ...

  9. Intellij IDEA报错:Could not save application settings: java.io.IOException: java.lang.AssertionError: Unexpected content storage modificat

    Question: i have a message saying "Could not save application settings: java.io.IOException: ja ...

随机推荐

  1. php通过Mysqli和PDO连接mysql数据详解

    前言 在实际开发中,关于数据库操作类,很少是自己去写,大多是通过一些框架去实现,突然自己去写,还是需要借阅手册之类,于是我觉得有必要去总结一下,php连接mysql的方法,php连接mysql,可以通 ...

  2. 学习 FPGA之前的基础知识

    在学习一门技术之前往往应该从它的编程语言入手,比如学习单片机时,往往从汇编或者C语言入门.所以不少开始接触FPGA的开发人员,往往是从VHDL或者Verilog开始入手学习的.但小编认为,若能先结合& ...

  3. POJ2739(尺取法)

    Sum of Consecutive Prime Numbers Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 23931 ...

  4. Java-Runoob-高级教程:Java 实例

    ylbtech-Java-Runoob-高级教程:Java 实例 1.返回顶部 1. Java 实例 本章节我们将为大家介绍 Java 常用的实例,通过实例学习我们可以更快的掌握 Java 的应用. ...

  5. abbreviation

    1. ps------process status 2. tty-----teletype 3. ping----packet internet groper 4. nohup-----no hang ...

  6. 5月8日上课笔记-浮动float

    IO文件复制 字符流(只能对文本文件进行操作) Reader Writer 字节流(对所有文件都能操作) InputStream OutputStream 一.浮动 边框弧度 border-radiu ...

  7. Octave中调用hist出现broken pipe some output may be lost octave的解决(Mac)

    参考:http://octave.1599824.n4.nabble.com/Mac-OS-X-Mountain-Lion-Octave-can-not-execute-sombrero-td4643 ...

  8. 【源码阅读】Java集合之一 - ArrayList源码深度解读

    Java 源码阅读的第一步是Collection框架源码,这也是面试基础中的基础: 针对Collection的源码阅读写一个系列的文章,从ArrayList开始第一篇. ---@pdai JDK版本 ...

  9. 跟我学算法-pca(降维)

    pca是一种黑箱子式的降维方式,通过映射,希望投影后的数据尽可能的分散, 因此要保证映射后的方差尽可能大,下一个映射的方向与当前映射方向正交 pca的步骤: 第一步: 首先要对当前数据(去均值)求协方 ...

  10. git如何处理别人的pull request及解决冲突 (转)

    原贴地址 出过两次了,每次都查很多资料,太蛋疼,记录在此. 当你的项目比较牛逼的时候,有人给你贡献代码,但他修改的地方恰恰你前阵子也修改了,这样在github中就不能够自动merge了. 因此你需要手 ...