I want to write a batch file to move all directories except last two created.
" dir /b/o:-d " ---> command will return list of dir/file names based on creation date. I want to keep first two from this list and remaining i want to move to other location.
Could someone please give me the batch script to do it.
Thanks & Regards