I need some help to understand and modify this batch file that I found here on EE:
:: @ECHO OFF
FOR /F "TOKENS=2-4 DELIMS=/ " %%F IN ('DATE /T') DO (SET TODAY=%%H%%F%%G)
dir * > %TODAY%.txt
This will produce TODAY to be YYYYMMDD.
What I NEED is YYMMDD. How do I get this?
And, where can I learn the details on what the variables are and how this works? ( I looked around a bit but never found what I am looking for),