Delete a folder that is reported as non existing although it appears in Windows Explorer!

I don’t know why people do such crazy things, giving to folders and files names with the length of a whole paragraph!

Sometimes folders that contain sub-folders or files with names longer than what is allowed by the OS, appear in Explorer, but they cannot be moved or deleted!

How would you get rid of the problematic files and folders? Open a simple text editor, paste the text that follows below, save your file as “whatever.bat”, run it as administrator, and enjoy!

RD /S /Q "write here the path of the folder you want to delete"