1.

Solve : How to make a bat file to return the latest file name in a dir ??

Answer»

How to?
Thanks
ADH Code: [Select]for /F "delims=" %%A in ('dir /B /od /a-d') do set latest=%%~nxA
echo the latest FILE is %latest%



Discussion

No Comment Found