for /F "usebackq delims=" %%i in (`コマンド`) do (
 md %%i && xcopy c:\src\* %%i\
)