Window 11 - "This is no longer located in" error when deleting a directory

In my previous Windows 7 - this is no longer located post, I mentioned 1 method to delete these trouble directories. 

There is an alternative way to do this. As a recap, below is the error message



You can simply run

rd /s C:\Path\To\Bad\Directory

and say Y to the command. It will remove the directory.

rd command is a remove directory Windows command. /s means deletes a directory tree (the specified directory and all its subdirectories, including all files).


Comments

  1. This error usually occurs when Windows cannot access long or locked paths. Using LongPathTool can help resolve it by allowing deletion of directories Windows 11 struggles to handle.

    ReplyDelete

Post a Comment

Popular Posts