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.

FOR /f "tokens=1-4 delims=/-. " %%G IN ('date /t') DO (call :Fix_Date %%G %%H %%I %%J)
goto :print_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

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