Basic cmd.exe commands

Win32 Command Description

xcopy c:\tmp\src x:\tmp\dst /s /e

copy recursive from src to dst
/s: Copies directories and subdirectories, unless they are empty.
/e: Copies all subdirectories, even if they are empty.

rmdir /s /q

remove directory recursive.
/s: Removes the specified directory and all subdirectories including any files.
/q: Deletes directories without confirmation.