anchor.diff:  call functions\log.bat "%CUR_DATE% %TIME%    Done."
   
   
  -:: JOB: Remove resume-related files, registry entry, boot flag, and other misc files
  -title Tron v%SCRIPT_VERSION% [stage_7_wrap-up] [Remove resume files]
  -call functions\log.bat "%CUR_DATE% %TIME%    Cleaning up..."
  -	reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" >nul 2>&1
  -	del /f /q tron_flags.txt >nul 2>&1
  -	del /f /q tron_stage.txt >nul 2>&1
  -	:: Skip these during a dry run because they toss errors to the log file. Not actually a problem, just an annoyance
  -	if %DRY_RUN%==no (
  -		bcdedit /deletevalue {current} safeboot >nul 2>&1
  -		bcdedit /deletevalue {default} safeboot >nul 2>&1
  -		bcdedit /deletevalue safeboot >nul 2>&1
  -	)
  -	del /f /q "%TEMP%\tron_smart_results.txt" 2>NUL
  -call functions\log.bat "%CUR_DATE% %TIME%    Done."
  -
  -
   :: JOB: Create post-run Restore Point
   title Tron v%SCRIPT_VERSION% [stage_7_wrap-up] [Create Restore Point]
   if %WIN_VER_NUM% geq 6.0 (
  
positive.code: 	echo    SAFE_MODE:              %SAFE_MODE%
  	echo    SAFEBOOT_OPTION:        %SAFEBOOT_OPTION%
  	echo    TEMP:                   !TEMP!
  	echo    TARGET_METRO:           %TARGET_METRO%	
  	echo    TIME:                   %TIME%
  	echo    TIME_ZONE_NAME:         !TIME_ZONE_NAME!
  	echo    PROCESSOR_ARCHITECTURE: %PROCESSOR_ARCHITECTURE%
  
negative.code: :: Requirements:  1. Administrator access
  ::                2. Safe mode is recommended (though not required)
  :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  :: Version:       9.8.1 / Move post-run cleanup to after Stage 8
  ::                      / Re-enable debug log upload function (-udl). Thanks to /u/Rikairchy2
  ::                      * Improve CLI_ARGUMENTS routine (used by Swithmail) and move into :parse_cmdline_args function
  ::                9.8.0 + Add Stage 8: Custom Scripts. Tron will execute any .bat files placed in stage_8_custom_scripts just prior to script completion
  ::
  :: Usage:         Run this script as an Administrator (Safe Mode preferred but not required), follow the prompts, and reboot when finished. That's it.
  ::
  