for /f "skip=1 delims=" %%a in ('dir /b /tw /o-d /a-d c:\prueba1\*.*'
) do move "c:\prueba1\%%a" "c:\prueba99"
dir
command get the files in descending creation date order, so the first is the latest. for
command iterates over this list, skipping the first one, moving the files to the target folder.