anchor.diff:  echo                          Executing as %USERDOMAIN%\%USERNAME% on %COMPUTERNAME%
   echo                          Logfile:   %LOGPATH%\%LOGFILE%>> %LOGPATH%\%LOGFILE%
   echo                          Logfile:   %LOGPATH%\%LOGFILE%
  +echo                          Command-line flags: %*>> %LOGPATH%\%LOGFILE%
  +echo                          Command-line flags: %*
   echo                          Safe Mode: %SAFE_MODE% %SAFEBOOT_OPTION%>> %LOGPATH%\%LOGFILE%
   echo                          Safe Mode: %SAFE_MODE% %SAFEBOOT_OPTION%
   echo ------------------------------------------------------------------------------->> %LOGPATH%\%LOGFILE%
  
positive.code: :::::::::::::::::::::
  cls && echo. && echo  Loading...
  color 0f
  set SCRIPT_VERSION=3.7.2
  set SCRIPT_DATE=2014-10-22
  title TRON v%SCRIPT_VERSION% (%SCRIPT_DATE%)
  
  :: Get the date into ISO 8601 standard date format (yyyy-mm-dd) so we can use it 
  
negative.code: echo                          Executed as %USERDOMAIN%\%USERNAME% on %COMPUTERNAME%
  echo                          Logfile: %LOGPATH%\%LOGFILE%>> %LOGPATH%\%LOGFILE%
  echo                          Logfile: %LOGPATH%\%LOGFILE%
  echo                          Command-line flags: %*>> %LOGPATH%\%LOGFILE%
  echo                          Command-line flags: %*
  echo                          Safe Mode: %SAFE_MODE% %SAFEBOOT_OPTION%>> %LOGPATH%\%LOGFILE%
  echo                          Safe Mode: %SAFE_MODE% %SAFEBOOT_OPTION%
  echo ------------------------------------------------------------------------------->> %LOGPATH%\%LOGFILE%
  echo -------------------------------------------------------------------------------
  
  :: Skip all this if we're doing a dry run
  if %DRY_RUN%==yes goto end_and_skip_shutdown
  
  :: Perform reboot if requested
  if not "%AUTO_REBOOT_DELAY%"=="0" shutdown -r -f -t %AUTO_REBOOT_DELAY% -c "Rebooting in %AUTO_REBOOT_DELAY% seconds to finish cleanup."
  
  :: Perform shutdown if requested
  if %DO_SHUTDOWN%==yes shutdown -f -t %AUTO_REBOOT_DELAY%
  
  :: De-rez self if requested
  if %SELF_DESTRUCT%==yes (
  	set CWD=%CD%
  	cd ..
  	rmdir /s /q %CWD%
  	)
  
  :end_and_skip_shutdown
  pause
  