Main | DOS Batch File – Get Current Date for File Name »
For /f “tokens=*” %%i in (‘dir /a:-d/b/0:d’) do set NEWEST=%%i
Echo The newest file is %NEWEST%
You can follow this conversation by subscribing to the comment feed for this post.
The comments to this entry are closed.
Comments