Sometimes we use when Windows will encounter a very long path, such as path exceeds 256 characters in length.
If we just pass right click delete, or by Shift + Delete key combination, will always prompt path is too long, and the file can not be deleted.
Today discovered a simple and effective method can be solved.
We use the robocopy command, and plus / purge this parameter
First, create an empty folder, such as Test
robocopy Test Target_To_Delete_Folder /purge
What it means is that the Test directory does not exist delete files or directories from Target_To_Delete_Folder in.
Execute very quickly to solve the problem.