.EXAMPLE.....: 83 Rename a file to a name that contains today's date in only 3 bytes .CATEGORY....: examples .DISCUSSION..: It is possible to store information about a date in only 3 bytes,
using "extended hex" format.
If you need to store a date in a filename, but are really limited
in the number of bytes available, here is how to do it.
:: get today's date in extended hex format
FDATE /Ff /Oxxx /p"SET XXX=">junk.bat
call junk.bat
del junk.bat
:: rename a file, using the xxx date
ren BACKUP.LOG %XXX%-BACK.LOG
:: cleanup
SET XXX=