How to delete a folder containing trailing spaces in Windows 7 Use 7-Zip to rename the folder. Via superuser.