Created
December 5, 2012 22:53
-
-
Save jclement/4220241 to your computer and use it in GitHub Desktop.
Return latest folder in a directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /f "delims=" %%x in ('dir /od /b \\server\dir\*.*') do set recent=%%x | |
echo %recent% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment