In a batch file I need to get a file from a folder that has today's date.
The problem is I can't get the batch date command to return the proper format.
I have this: echo %date:/=-%
But that always returns for example: Fri 06-20-2014
What's the proper call for just returning: 06-20-2014
Looked all over can't find.
Thanks!