It is not possible to delete or rename a folder that contains a blank space at the end with Windows Explorer. It can only be done by using this cmd command:

rd “\.\C:\temp\my folder “

References:

https://superuser.com/questions/198256/how-to-delete-a-folder-containing-trailing-spaces