General discussion

Locked

Create a folder

By BlazNT ·
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.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by mikex In reply to Create a folder

Which one is unique the batch file or the folder?

Collapse -

by BlazNT In reply to Create a folder

I need the Folder to be unique. Sorry if it did not make since before.

Collapse -

by BlazNT In reply to Create a folder

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

Back to Windows Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums