anchor.diff:  	echo %CUR_DATE% %TIME% ! Auto-reboot selected. Rebooting in %AUTO_REBOOT_DELAY% seconds.
   	)
   
  +:: Check if shutdown was requested
  +if "%DO_SHUTDOWN%"=="yes" (
  +	echo %CUR_DATE% %TIME% ! Auto-shutdown selected. Shutting down immediately.>> "%LOGPATH%\%LOGFILE%"
  +	echo %CUR_DATE% %TIME% ! Auto-shutdown selected. Shutting down immediately.
  +)
  +
   :: Log trailer
   echo ------------------------------------------------------------------------------->> %LOGPATH%\%LOGFILE%
   echo -------------------------------------------------------------------------------
  
positive.code: 
  
  :: TODO: 
  :: - Date update (make sure to set CUR_DATE somewhere in the middle of the script to account for running over night). Thanks to /u/ScubaSteve
  :: - alter tron downloads into self-unpacking EXEs? Thanks to /u/cmorche
  :: - 
  
  
  
  
negative.code: 
  
  if %DRY_RUN%==yes goto end_and_skip_shutdown
  if not "%AUTO_REBOOT_DELAY%"=="0" shutdown -r -f -t %AUTO_REBOOT_DELAY% -c "Rebooting in %AUTO_REBOOT_DELAY% seconds to finish cleanup."
  if "%DO_SHUTDOWN%"=="yes" shutdown -f 
  
  :end_and_skip_shutdown
  pause
  