pushd c:\images for /r %%a in (*.*) do ( MOVE "%%a" "c:\single\%%~nxa" ) popd
Adapted from http://stackoverflow.com/a/11721037 .
pushd c:\images for /r %%a in (*.*) do ( MOVE "%%a" "c:\single\%%~nxa" ) popd
Adapted from http://stackoverflow.com/a/11721037 .