New
#1
Create a directory on startup with date i.e. 12-03-2012
Hi there,
I would like to create a daily folder on system startup which has the date like this 12-03-2012
I also want it to go to a certain place on my hard drive C:Users/Name/My Documents
I have this script but it puts the date the wrong way around and I would prefer dashes in between the dates?
for /f "skip=1" %%d in ('wmic os get localdatetime') do if not defined mydate set mydate=%%d
md %mydate:~0,8%
Thanks in advance, Jay ;-)