Skip to main content

Delete a folder when Windows says "Could not find this item" while deleting it



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:

  1. Open Windows Command Prompt
  2. 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! )

Comments

Popular posts from this blog

How to Submit Blogger Sitemap to Google Webmaster Tools

Hi Buddy, Today I am going to Share with you HOW TO SUBMIT BLOGGER SITEMAP TO GOOGLE WEBMASTER TOOLS. Here are the steps to add your blogger's Sitemap to Google Webmaster-  First of all for creatin g sitemap code for blogger go to http://ctrlq.org/blogger/ ,Here enter full address of your blogger and Press on Generate Sitemap .

10 Best Free Android Apps August 2020 | Favor8hub

App developers are pushing the envelope on a daily basis trying to improve and enhance our smartphone experiences. In fact, so many Android apps come out every day that it’s difficult to keep track of them all. And that’s exactly why today We're going to show you 10 Best Free Android Apps for the month of August 2020 that you should definitely  try. Retro Music Player Online media streaming platforms are on the rage right now. Apps like Spotify, Gaana Music, and many other online media streaming platforms did gain a lot of popularity in recent times which made the users shift to the online music world completely. But still, there are a lot of people who prefer to download music and listen to offline. If you are one of them, the Retro Music Player is for you. The Retro music player is beautifully designed and organizes your music neatly laid out album wise. Unlike the other offline players, here you will have total control over the theming and customization. You can also choose betw

Turn off Windows Updates in Windows 10

There is no option to turn off Windows Updates using the Control Panel or Settings app in Windows 10, as it used to be with earlier versions of Windows. But there is a workaround to disable or turn off Windows Update in Windows 10, that we’ll talk about in this post. Turn off Windows Updates in Windows 10 You can do this using the Windows Update service. Via Control Panel > Administrative Tools , you can access Services . In the Services window, scroll down to Windows Update and turn off the process . To turn it off, right-click on the process, click on Properties and select Disabled . That will take care of Windows Updates not being installed on your machine.