anchor.diff:  :: STAGE 5: Patches ::
   ::::::::::::::::::::::
   :stage_5_patch
  +:: Set current date again, since Stage 4 can take quite a while to run
  +call :set_cur_date
   :: Stamp current stage so we can resume if we get interrupted by a reboot
   echo stage_5_patch>tron_stage.txt
   title TRON v%SCRIPT_VERSION% [stage_5_patch]
  
positive.code: 	)
  
  
  ::::::::::::::::::
  :: UPDATE CHECK ::
  ::::::::::::::::::
  :: Skip this job if we're doing a dry run or if AUTORUN is set
  if /i %DRY_RUN%==yes goto skip_update_check
  if /i %AUTORUN%==yes goto skip_update_check
  
negative.code: :log
  echo:%~1 >> "%LOGPATH%\%LOGFILE%"
  echo:%~1
  goto :eof
  
  
  :: Get the date into ISO 8601 standard date format (yyyy-mm-dd) so we can use it 
  :set_cur_date
  for /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a
  set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2%
  goto :eof
  
  
  