最近,往我的F磁盘分区中下载了几个文件,可是下载完后,我的磁盘里面有两个同名的文件。而且里面的内容是空的,按照我以往的解决办法是: 移除掉一个文件夹,在另外的一个文件夹中就有文件了。
可是让你郁闷的是,文件是找到了,当你整理文件时,想删除这个文件,却屡次提示“Item Not Found”。如下图所示:


在微软论坛中有好多人遇到了这样的问题,自从windows vista开始就有了。我的系统是windows 7 ultimate。我找到的解决办法是:
1:“开始”--“CMD”命令行(管理员身份)
2: 定位到你要删除的磁盘目录。
3:在cmd下面输入:dir /a /x /p(/a显示具有指定属性的文件;/x 显示为非8dot3文件名产生的短名称。格式是/N的格式,短名称插在长名称前面。如果没有短名称,在其位置则显示空白;/p在每个信息屏幕后暂停。)
4: 重命名/x的短名称:ren <短名称> <newfilename1>
5:删除文件夹:del <newfilename1>
6:删除文件夹:rd /s <newfilename1>
具体的命令什么意思,在这里不再详细解释。大家可以问google或者查看cmd帮助命令。我的操作截图如下:
C:\Windows\system32>D:
D:\>dir
Volume in drive D is SOFT INSTALL
Volume Serial Number is FC47-10A1
Directory of D:\
2013/03/21 22:36 <DIR> 123
2013/03/18 12:21 <DIR> Program Files (x86)
2012/07/05 22:51 <DIR> SSH Secure Shell
2012/07/03 08:39 <DIR> Users
2013/02/19 18:15 <DIR> VM
2012/11/20 17:22 <DIR> 文件
0 File(s) 0 bytes
6 Dir(s) 13,265,244,160 bytes free
D:\>dir /a /x /p
Volume in drive D is SOFT INSTALL
Volume Serial Number is FC47-10A1
Directory of D:\
2012/06/29 15:45 <DIR> $RECYCLE.BIN
2013/03/21 22:36 <DIR> 123
2013/03/10 13:23 <DIR> Lenovo
2013/03/18 12:21 <DIR> PROGRA~1 Program Files (x86)
2012/07/05 22:51 <DIR> SSHSEC~1 SSH Secure Shell
2012/06/30 14:12 <DIR> SYSTEM~1 System Volume Information
2012/07/03 08:39 <DIR> Users
2013/02/19 18:15 <DIR> VM
2012/11/20 17:22 <DIR> 文件
0 File(s) 0 bytes
9 Dir(s) 13,265,244,160 bytes free
在这里加入我们删除“SSH Secure Shell”这个文件,执行如下命令
D:\>ren SSHSEC~1 ll
D:\>del ll
D:\>rd /s ll
D:\>dir
Volume in drive D is SOFT INSTALL
Volume Serial Number is FC47-10A1
Directory of D:\
2013/03/21 22:36 <DIR> 123
2013/03/18 12:21 <DIR> Program Files (x86)
2012/07/05 22:51 <DIR> SSH Secure Shell
2012/07/03 08:39 <DIR> Users
2013/02/19 18:15 <DIR> VM
2012/11/20 17:22 <DIR> 文件
0 File(s) 0 bytes
6 Dir(s) 13,265,244,160 bytes free
D:\>dir /a /x /p
Volume in drive D is SOFT INSTALL
Volume Serial Number is FC47-10A1
Directory of D:\
2012/06/29 15:45 <DIR> $RECYCLE.BIN
2013/03/21 22:36 <DIR> 123
2013/03/10 13:23 <DIR> Lenovo
2013/03/18 12:21 <DIR> PROGRA~1 Program Files (x86)
2012/07/05 22:51 <DIR> SSHSEC~1 SSH Secure Shell
2012/06/30 14:12 <DIR> SYSTEM~1 System Volume Information
2012/07/03 08:39 <DIR> Users
2013/02/19 18:15 <DIR> VM
2012/11/20 17:22 <DIR> 文件
0 File(s) 0 bytes
9 Dir(s) 13,265,244,160 bytes free
在这里加入我们删除“SSH Secure Shell”这个文件,执行如下命令
D:\>ren SSHSEC~1 ll
D:\>del ll
D:\>rd /s ll
转载于:https://blog.51cto.com/bronte/1159959