您的位置:首页 > 其它

windows删除文件夹时,提示Could not find this item

2018-01-24 00:29 204 查看

You
might experienced it before, when you were trying to remove a folder and Windows gave you an error which says "Could not find this item".

So
what the problem is?

Sometimes the folder name is something like "My Folder ", If you look at the end of file you have noticed, there is a space at the end of file. If you have installed Windows 7, 8, 8.1 or even 10 on your PC, you can try to create a folder which ends with a space
and you will see Windows will remove that space which is located at the end or the beginning of the file name!

That's the problem!

In previous versions of  Microsoft Windows, such as XP or Vista, I think Windows let users to create a file/folder with trailing space.

For
example: I have folder which calls "New Folder ", (look at the space!)

When I try to remove it in Windows Explorer, Windows will try to remove "New Folder" (without
space at the end) and it will give me an error "Could not find the item". 

So what we should do?



The
only way to solve this problem is to use Windows Command Prompt:

Open Windows Command Prompt



In Command Prompt, type the command below which I'm going to explain it further.

rd /S "\\?\G:\My Files\New Folder "

The command above will delete "New Folder " and all its sub-folders. 



rd is
a Windows Command to remove a directory.

/S switch, is an argument which make rd to remove all sub-directories

The absolute path of the devil folder

If you type the command above and press Enter after it, it will want you to confirm the delete process, just type "y" and press Enter.



Afterwards the folder will be deleted ( if you have typed the folder address correctly! )

The
End.

原文链接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐