anchor.diff:  :: JOB: Windows updates
   title TRON v%SCRIPT_VERSION% [stage_5_patch] [Windows Updates]
   call :log "%CUR_DATE% %TIME%    Launch job 'Install Windows updates'..."
  -if /i %DRY_RUN%==no (
  -	if /i %SKIP_WINDOWS_UPDATES%==no (
  -		wuauclt /detectnow /updatenow
  +if /i %SKIP_WINDOWS_UPDATES%==no (
  +		if /i %DRY_RUN%==no wuauclt /detectnow /updatenow
   		call :log "%CUR_DATE% %TIME%    Done."
   	) else (
  -		call :log "%CUR_DATE% %TIME% !  SKIP_WINDOWS_UPDATES ^(-sw^) set to "%SKIP_WINDOWS_UPDATES%", skipping Windows Updates."
  -	)
  -)
  +		call :log "%CUR_DATE% %TIME% !  SKIP_WINDOWS_UPDATES (-sw) set to "%SKIP_WINDOWS_UPDATES%", skipping Windows Updates."
  +	)
   
   
   :: JOB: Rebuild Windows Update base (deflates the SxS store; note that any Windows Updates installed prior to this point will become uninstallable)
  
positive.code: 	echo  Author: vocatus on reddit.com/r/TronScript
  	echo.
  	echo   Usage: %0% ^[-a -c -d -e -er -gsl -m -o -p -r -sa -sb -sd -se -sfr -sk 
  	echo                -sl -sm -sp -spr -srr -ss -sw -v -x^] ^| ^[-h^]
  	echo.
  	echo   Optional flags ^(can be combined^):
  	echo    -a   Automatic mode ^(no welcome screen or prompts; implies -e^)
  
negative.code: 
  
  :: Check if shutdown was requested
  if /i %AUTO_SHUTDOWN%==yes call :log "%CUR_DATE% %TIME% ! Auto-shutdown selected. Shutting down in %AUTO_REBOOT_DELAY% seconds.
  
  
  :: Pretend to send the email report. We don't actually send the report since we need the log trailer which is created below,
  :: so we just pretend to send it then actually send it after the log trailer has been created
  if /i %EMAIL_REPORT%==yes (
  	call :log "%CUR_DATE% %TIME%   Email report requested. Sending report now..."
  