anchor.diff:  :: Requirements:  1. Administrator access
   ::                2. Safe mode is recommended but not required
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.2.2 / ccleaner:    Re-enable CCleaner
  +:: Version:       1.2.3 + feature:     Add job 'netsh branchcache reset'
  +::                1.2.2 / ccleaner:    Re-enable CCleaner
   ::                1.2.1 * improvement: Improve standalone execution support. Can now execute by double-clicking icon vs. manually executing via CLI
   ::                1.2.0 ! bugfix:      Temporarily disable CCleaner until Piriform gets their mess figured out
   ::                1.1.9 ! bugfix:      Preface WMIC calls with null input to ensure the pipe is closed, fixes WMI hanging on WinXP machines. Thanks to github:salsifis
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_1_SCRIPT_VERSION=1.2.2
  set STAGE_1_SCRIPT_DATE=2018-08-01
  
  :: Check for standalone vs. Tron execution and build the environment if running in standalone mode
  if /i "%LOGFILE%"=="" (
  
negative.code: 
  
  
  :: JOB: Reset BranchCache
  title Tron v%TRON_VERSION% [stage_1_tempclean] [Reset BranchCache]
  call functions\log_with_date.bat "   Launch job 'Reset BranchCache'..."
  if /i %DRY_RUN%==no (
  	if %VERBOSE%==yes (
  		netsh branchcache show status all
  		netsh branchcache flush
  	) else (
  		netsh branchcache show status all >> "%LOGPATH%\%LOGFILE%" 2>&1
  		netsh branchcache flush >> "%LOGPATH%\%LOGFILE%" 2>&1
  	)
  )
  call functions\log_with_date.bat "   Done."
  
  
  
  :: Stage complete
  call functions\log_with_date.bat "  stage_1_tempclean complete."
  