anchor.diff:  if /i %DRY_RUN%==no reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >nul 2>&1
   
   
  -:: Check if autorun (-a) flag was used but we're NOT in Safe Mode. If true, reboot.
  +:: Check if AUTORUN_IN_SAFE_MODE flag was used in conjunction with AUTORUN. If true, reboot.
   if /i %AUTORUN%==yes (
  -	if /i not "%SAFE_MODE%"=="yes" (
  -		call functions\log.bat " ! Autorun flag used, but we're not in Safe Mode. Rebooting in 15 seconds."
  -		if /i %DRY_RUN%==no (
  -			bcdedit /set {default} safeboot network
  -			shutdown -r -f -t 15
  -			pause
  -			exit
  +	if /i %AUTORUN_IN_SAFE_MODE%==yes (
  +		if /i not "%SAFE_MODE%"=="yes" (
  +			call functions\log.bat " ! AUTORUN_IN_SAFE_MODE (-asm) used, but we're not in Safe Mode. Rebooting in 15 seconds."
  +			if /i %DRY_RUN%==no (
  +				bcdedit /set {default} safeboot network
  +				shutdown -r -f -t 15
  +				pause
  +				exit
  +			)
   		)
   	)
   )
  
positive.code: 	if /i %%i==-x set SELF_DESTRUCT=yes
  )
  goto :eof
  :eof
  
negative.code: :: PREP AND CHECKS ::
  :::::::::::::::::::::
  color 0f
  set SCRIPT_VERSION=1.0.5
  set SCRIPT_DATE=2017-12-06
  
  :: Get in the correct drive (~d0) and path (~dp0). Sometimes needed when run from a network or thumb drive. 
  :: We stay in the \resources directory for the rest of the script
  