I have a directory with many subdirectories. Each subdirectory is named with the yyyy-mm-dd format. I'm writing a Windows batch file and I need to grab the directory name with the most recent date and put that string into a variable. The last modified dates were changed, so using the last modified timestamp isn't an option.
Can anyone point me in the right direction?