anchor.diff:  :: Requirements:  1. Administrator access
   ::                2. Safe mode is strongly recommended (though not required)
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       6.1.2 + tron.bat:flags:          Add -np flag and associated NO_PAUSE variable. Use this to skip the "pause" statement at the end of Tron. Thanks to /u/geeklogan
  -::                      / stage_2_de-bloat:names:  Rename "programs_to_target.txt" to "programs_to_target_by_name.txt"
  -::                6.1.1 ! stage_0_prep:tdssk:      Revert TDSSK to v3.0.0.42 due to crash bug where it was deleting tron.bat as suspicious due to the RunOnce registry entry we create. Currently searching for a better solution
  +:: Version:       6.1.3 ! tron.bat:updater: Fix updater bug where download failed integrity check even when file was correct. Thanks to /u/aheath1992
  +::                      ! tron.bat:resume:  Tune resume feature, should hopefully reduce incorrectly-detected interrupted runs. Don't re-create tron_resume RunOnce entry 
  +::                                          if we detect we're resuming from a previous interruption. Although we may get interrupted again, this should help prevent 
  +::                                          getting stuck in a resume-loop over and over
   ::
   :: Usage:         Run this script in Safe Mode as an Administrator and reboot when finished. That's it.
   ::
  
positive.code: ::                      -x   Self-destruct. Tron deletes itself after running and leaves logs intact
  ::
  ::                If you don't like the defaults and don't want to use the command-line, edit the variables below to change the script defaults.
  
  ::                U.S. Army Warrant Officer Corps - Quiet Professionals
  
  
  :: TODO:  
  ::   - GSL: Fix list of removed programs not being empty if no programs were removed:   https://www.reddit.com/r/TronScript/comments/312i81/tron_removed_programstxt_contains_a_list_of_all/
  ::   - 
  
  SETLOCAL
  @echo off
  
negative.code: if /i %RESUME_DETECTED%==yes (
  	:: Notify and jump
  	call :log "%CUR_DATE% %TIME% ! Incomplete run detected. Resuming at %RESUME_STAGE% using flags "%RESUME_FLAGS%"..."
  	:: Reset the RunOnce flag in case we get interrupted again. Disabled for now, just to resume-looping where we keep trying to resume
  	:: even if a reboot didn't happen
  	::reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >NUL
  	goto %RESUME_STAGE%
  )
  
  