I have PDFs in a directory that I would like to sort based on a portion of their filename. I've come up with a solution (cobbled together from Google searches) that mostly works but am wondering if ...
for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set y=%%d for /f "tokens=1,2,3,4 delims=/ " %%a in ( 'date/t' ) do set m=%%b for /f "tokens=1,2,3,4 delims ...