command - DOS: Copy one file (oldest) at a time -


there folder contains many zip files. want copy oldest zip file on each commmand execution. please help? thanks

from how write windows batch script copy newest file directory? - reversing file order

for /f "delims=" %%i in ('dir . /b /o:d') copy %%i newdirectorypath & exit


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -