When scheduled every midnight and at system startup, your batch files can read the day, month, year, week, quarter, weekday and day of the year directly from environment variables.This can be very useful in backup directory names, log file names, etc.