mkdir C:\emptyfolder
robocopy C:\emptyfolder "C:\delete\long_folder_name" /purge
rmdir C:\delete\long_folder_name
rmdir C:\emptyfolder