Discussion Locked

Create a folder

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to create a folder in a batch file that is alway unique. Any ideas on how. I tried md and %MM%%DD%%YY% no luck. I tried md %date% no luck. I know Im just missing something simple but not sure what it is.

4 replies

by blaznt

I found the answer :)
md "%DATE:/=_%"
It creates a folder that looks like
Sun 08_29_2004

This discussion is closed to new replies.