Format date and time MS DOS

This is a quick MSDOS Batch script to help me out when I have to move a file and rename it in the process based on the current date.

cls
FOR /f "tokens=1-4 delims=/-. " %%G IN ('date /t') DO (call :Fix_Date %%G %%H %%I %%J)
goto :print_date

:Fix_Date
if "%1:~0,1%" GTR "9" shift
FOR /f "skip=1 tokens=2-4 delims=(-)" %%G IN ('echo.^|date') DO (
set %%G=%1&set %%H=%2&set %%I=%3)
goto :eof

:print_date
copy c:\Users\ycsoftware\ycsoftware.txt c:\ycsoftware.%mm%.%dd%.%yy%.txt