How do I create a directory with the current date in a command line (need to do this for a batch file).?
I've tried mkdir "%date%" but unfortunately the date format is 'Tues 2/17/2004' and when used with mkdir creates a folder called 'Tues 2' with subdirectories for /17 and /2004.
It would be great if I could set it up to create folders in the format of mm-dd-yy.
Any help appreciated!
I've tried mkdir "%date%" but unfortunately the date format is 'Tues 2/17/2004' and when used with mkdir creates a folder called 'Tues 2' with subdirectories for /17 and /2004.
It would be great if I could set it up to create folders in the format of mm-dd-yy.
Any help appreciated!