anchor.diff:  	bcdedit /deletevalue {current} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
   	bcdedit /deletevalue {default} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
   	bcdedit /deletevalue safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  +	del /f /q %TEMP%\tron_smart_results.txt 2>NUL
   call functions\log.bat "%CUR_DATE% %TIME%    Done."
   
   
  
positive.code: 	color 0e
  	set WARNINGS_DETECTED=yes
  )
  :smart_check_complete
  
  
  :: PREP: If we're in Safe Mode, set the system to permanently boot into Safe Mode in case we get interrupted by a reboot
  
negative.code: if /i %VERBOSE%==yes call functions\log.bat "%CUR_DATE% %TIME%    Expanded scrollback buffer to accomodate increased output."
  
  
  :: PREP: Run a quick SMART check and notify if there are any drives with problems
  set WARNING_LIST=(Error Degraded Unknown PredFail Service Stressed NonRecover OK)
  for /f %%i in ('%WMIC% diskdrive get status') do echo %%i|findstr /i "%WARNING_LIST:~1,-1%" && (
  	call functions\log.bat "%CUR_DATE% %TIME% ^^^! WARNING: SMART check indicates at least one drive with '%%i' status"
  	call functions\log.bat "%CUR_DATE% %TIME% SMART errors can mean a drive is close to failure"
  