I tried to do that, but it still didn't work is this what you meant
@echo off
set TIMESTAMP=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%--%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%
@echo TIMESTAMP=%TIMESTAMP%
md C:\backup\%TIMESTAMP%
xcopy /e "%tfolder%" "C:\backup\%TIMESTAMP%"
This is what my custom action ...