Moving the contents of subdirectories up one level

When I have a number of subdirectories in a root directory, all containing files, I often want to move the contents of each directory into the root directory.
Curently I open a DOS box in the root directory and run the command -
for /r %a in (.) do move "%a"
How can I put this on a button?

You can do it using a button like this:

@nofilenamequoting Copy "{filepath$}\*" MOVE HERE

Thank you. That works perfectly.