anchor.diff:  %WMIC% diskdrive get status > "%TEMP%\tron_smart_results.txt"
   setlocal enabledelayedexpansion
   for %%i in (Error,Degraded,Unknown,PredFail,Service,Stressed,NonRecover) do (
  -	find /i "%%i" %TEMP%\tron_smart_results.txt >nul 2>&1
  +	%FIND% /i "%%i" %TEMP%\tron_smart_results.txt >nul 2>&1
   	if !ERRORLEVEL!==0 (
   		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"
  
positive.code: 
  :: PREP: Get free space on the system drive and stash it for comparison later
  :freespace_check
  for /F "tokens=2 delims=:" %%a in ('fsutil volume diskfree %SystemDrive% ^| find /i "avail free"') do set bytes=%%a
  :: GB version
  ::set /A FREE_SPACE_BEFORE=%bytes:~0,-3%/1024*1000/1024/1024
  :: MB version
  
negative.code: set SSD_DETECTED=no
  SETLOCAL ENABLEDELAYEDEXPANSION
  for /f "tokens=1" %%i in ('stage_6_optimize\defrag\smartctl.exe --scan') do (
  	stage_6_optimize\defrag\smartctl.exe %%i -a | %FIND% /i "Solid State" >NUL
  	if "!ERRORLEVEL!"=="0" ENDLOCAL DISABLEDELAYEDEXPANSION && set SSD_DETECTED=yes&& goto freespace_check
  	)
  for /f "tokens=1" %%i in ('stage_6_optimize\defrag\smartctl.exe --scan') do (
  	stage_6_optimize\defrag\smartctl.exe %%i -a | %FIND% /i "SSD" >NUL
  	if "!ERRORLEVEL!"=="0" ENDLOCAL DISABLEDELAYEDEXPANSION && set SSD_DETECTED=yes&& goto freespace_check
  	)
  for /f "tokens=1" %%i in ('stage_6_optimize\defrag\smartctl.exe --scan') do (
  	stage_6_optimize\defrag\smartctl.exe %%i -a | %FIND% /i "RAID" >NUL
  	if "!ERRORLEVEL!"=="0" ENDLOCAL DISABLEDELAYEDEXPANSION && set SSD_DETECTED=yes&& goto freespace_check
  	)
  for /f "tokens=1" %%i in ('stage_6_optimize\defrag\smartctl.exe --scan') do (
  	stage_6_optimize\defrag\smartctl.exe %%i -a | %FIND% /i "SandForce" >NUL
  	if "!ERRORLEVEL!"=="0" ENDLOCAL DISABLEDELAYEDEXPANSION && set SSD_DETECTED=yes&& goto freespace_check
  	)
  ENDLOCAL DISABLEDELAYEDEXPANSION
  