anchor.diff:  
   :: PREP JOB: Detect Solid State hard drives (determines if post-run defrag executes or not)
   :: Basically we use a trick to set the global SSD_DETECTED variable outside of the setlocal block by stacking it on the same line so it gets executed along with ENDLOCAL
  -:: Big time thanks to reddit.com/user/Suddenly_Engineer and reddit.com/user/Aberu for helping with this.
  +:: Big time thanks to reddit.com/user/Suddenly_Engineer and reddit.com/user/Aberu for helping with this
   :detect_ssd
   pushd resources\stage_5_optimize\defrag
   set SSD_DETECTED=no
  
positive.code: 	echo %CUR_DATE% %TIME%    Restoring power settings to previous values...
  	:: Check for Windows XP
  	if "%WIN_VER%"=="Microsoft Windows XP" (
  		if %DRY_RUN%==no powercfg /import "%POWER_SCHEME%" /file %LOGPATH%\tron_power_config_backup.pow
  		if %DRY_RUN%==no powercfg /setactive "%POWER_SCHEME%"
  	) 
  	:: Check for Windows Server 2003
  	if "%WIN_VER%"=="Microsoft Windows Server 2003" (
  			if %DRY_RUN%==no powercfg /import "%POWER_SCHEME%" /file %LOGPATH%\tron_power_config_backup.pow
  			if %DRY_RUN%==no powercfg /setactive "%POWER_SCHEME%"
  	) else (
  		REM if we made it this far we're not on XP or 2k3 and we can run the standard commands
  		if %DRY_RUN%==no powercfg /import %LOGPATH%\tron_power_config_backup.pow %POWER_SCHEME% 2>NUL
  		if %DRY_RUN%==no powercfg /setactive %POWER_SCHEME% 
  	)
  	:: cleanup
  	del %LOGPATH%\tron_power_config_backup.pow 2>NUL
  
negative.code: 	)
  if "%SSD_DETECTED%"=="yes" echo     Runtime estimate:        4-6 hours
  if not "%SSD_DETECTED%"=="yes" echo     Runtime estimate:        6-8 hours
  if /i %DRY_RUN%==yes echo   ! DRY_RUN set; will not execute any jobs
  echo.
  :welcome_screen_trailer
  pause
  