The echo %date% command will return \"Mon 09/22/2008\" format.
How do you get year, month and day part of string from a simple dos command?
Try:
set _YEAR=%date:~10,4%set _MONTH=%date:~7,2%set _DAY=%date:~4,2%
· *** 电脑目录 ***