So you are in a directory which have subdirectories contain files you want to move into the parent. Problem with the CMD on Windows (DOS) is that it can not do * globs for directories. This command will do:
F:\RICKRI~1>forfiles /s /m *.epub /c "cmd /c move @path %CD%"