anchor.diff:  echo %CUR_DATE% %TIME%   Logfile is located at %LOGPATH%\%LOGFILE%>> "%LOGPATH%\%LOGFILE%"
   echo %CUR_DATE% %TIME%   Logfile is located at %LOGPATH%\%LOGFILE%
   
  -if "%REBOOT_DELAY%"=="0" (
  +if "%AUTO_REBOOT_DELAY%"=="0" (
   	echo %CUR_DATE% %TIME% ! Auto-reboot disabled. Recommend rebooting as soon as possible.>> "%LOGPATH%\%LOGFILE%"
   	echo %CUR_DATE% %TIME% ! Auto-reboot disabled. Recommend rebooting as soon as possible.
   ) else (
  -	echo %CUR_DATE% %TIME% ! Rebooting in %REBOOT_DELAY% seconds.>> "%LOGPATH%\%LOGFILE%"
  -	echo %CUR_DATE% %TIME% ! Rebooting in %REBOOT_DELAY% seconds.
  +	echo %CUR_DATE% %TIME% ! Rebooting in %AUTO_REBOOT_DELAY% seconds.>> "%LOGPATH%\%LOGFILE%"
  +	echo %CUR_DATE% %TIME% ! Rebooting in %AUTO_REBOOT_DELAY% seconds.
   	)
   
   :: Create the log trailer for this job
  
positive.code: :: Requirements:  1. Administrator access
  ::                2. Safe mode is strongly recommended
  :: Author:        vocatus on reddit.com/r/sysadmin ( vocatus.gate@gmail.com ) // PGP key ID: 0x82A211A2
  :: Version:       1.7.2 * tron.bat:          Script now accepts "--auto" and "-a" as flags for automatic unattended execution
  ::                      + tron.bat:          Re-added check for Administrator rights using a 100% reliable method for Windows 2000 through Windows 8. Thanks to stackoverflow.com/users/3198799/and31415 for fix.
  ::                      * tron.bat:          Reverted SSD check to something more reliable
  ::                      / tron.bat:          Moved all but most recent changelog entries to the standalone changelog file, to avoid cluttering up script header
  :: Usage:         Run this script as an Administrator and let it reboot when finished.
  SETLOCAL
  
  :::::::::::::::
  :: VARIABLES :: -- Set these to your desired values
  :::::::::::::::
  :: Rules for variables:
  ::  * NO quotes!                       (bad:  "c:\directory\path"       )
  
negative.code: set LOGFILE=tron.log
  
  :: Post-run delay (in seconds) before rebooting. Set to 0 to disable auto-reboot.
  set AUTO_REBOOT_DELAY=0
  
  :: Set to anything but "no" in order to skip defrag regardless whether the system drive is an SSD or not.
  :: Leave as "no" to let the script auto-detect SSDs
  