Move files up a level then delete empty folder

I've been using MoveToParentFolder (3rd code posted) for years and haven't had any problems so far. I like that it cancels the delete if any files are left behind (maybe do to duplicates that you decide not to move).

Because it is an auto move and delete command, I added the @confirm command.