I was able to find the requested information. It is fairly simple, see below: SET MM=%date:~4,2% SET DD=%date:~7,2% SET YY=%date:~12,2%...
I want to use something like the following: for /f "tokens=2-4 delims=/ " %%i in ('date/t') do ( (set MM=%%i) (set DD=%%j)...
In XP want to use bat file to get 2 digit year from %date% as variables for mm, dd, yy. Is there a way to trim the 4 digit year to 2 digits?
Separate names with a comma.