please explain this

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Mohammad_Dos
Posts: 84
Joined: 08 Sep 2010 10:25
Location: Iran,Kashan
Contact:

please explain this

#1 Post by Mohammad_Dos » 20 Nov 2010 04:32

Hi. this lines make a directory with name of date:

Set MM=%date:~4,2%
Set DD=%date:~7,2%
Set YYYY=%date:~-4%

md %YYYY%-%MM%-%DD%


please explain for me this lines

!k
Expert
Posts: 378
Joined: 17 Oct 2009 08:30
Location: Russia

Re: please explain this

#2 Post by !k » 20 Nov 2010 10:50

Read set/?

Post Reply