Trouble running rmempty.exe in script

In the case of this script I want to clean up all the empty folders after my script moves eveything elsewhere.

Also, I have a button that I use to delete all the empty folders or folder containing empty folders with the press of a button.