U
Uyyy
Hi!.
I have following lines into a script to get actual date in yearmonthday
format, but i don't know what happen one of my machines because it shows
090603 instead 20090603. This machine had a virus although is clean now.
Any one knows what could be wrong?
Thanks.
for /f "usebackq tokens=1,2,3 delims=/" %%i IN (`DATE /T`) do set
tmpfecha=%%k%%j%%i
for /f "usebackq tokens=1,2,3 delims= " %%i in (`echo %tmpfecha%`) do set
mifecha=%%i%%k%%j
echo %mifecha%
I have following lines into a script to get actual date in yearmonthday
format, but i don't know what happen one of my machines because it shows
090603 instead 20090603. This machine had a virus although is clean now.
Any one knows what could be wrong?
Thanks.
for /f "usebackq tokens=1,2,3 delims=/" %%i IN (`DATE /T`) do set
tmpfecha=%%k%%j%%i
for /f "usebackq tokens=1,2,3 delims= " %%i in (`echo %tmpfecha%`) do set
mifecha=%%i%%k%%j
echo %mifecha%