anchor.diff:      pushd "%ProgramFiles(x86)%\Malwarebytes Anti-Malware"
   ) else (
       pushd "%ProgramFiles%\Malwarebytes Anti-Malware"
  -  )
  +	)
   start "" "mbam.exe"
   popd
   
  
positive.code: 	echo %CUR_DATE% %TIME% !  DISM: Image corruption detected. Attempting repair...>> "%LOGPATH%\%LOGFILE%"
  	echo %CUR_DATE% %TIME% !  DISM: Image corruption detected. Attempting repair...
  	:: Add /LimitAccess flag to this command to prevent connecting to Windows Update for replacement files
  	Dism /Online /Cleanup-Image /RestoreHealth /Logpath:"%LOGPATH%\tron_dism.log"
  	type "%LOGPATH%\tron_dism.log" >> "%LOGPATH%\%LOGFILE%"
  ) else (
  	echo %CUR_DATE% %TIME%    DISM: No image corruption detected.>> "%LOGPATH%\%LOGFILE%"
  
negative.code: echo %CUR_DATE% %TIME%    Checking %SystemDrive% for errors...
  
  :: Run a read-only scan and look for errors. Schedule a scan at next reboot if errors found
  if %DRY_RUN%==no %SystemRoot%\System32\chkdsk.exe %SystemDrive%
  if not %ERRORLEVEL%==0 ( 
  	echo %CUR_DATE% %TIME% !  Errors found on %SystemDrive%. Scheduling full chkdsk at next reboot.>> "%LOGPATH%\%LOGFILE%"
  	echo %CUR_DATE% %TIME% !  Errors found on %SystemDrive%. Scheduling full chkdsk at next reboot.
  	if %DRY_RUN%==no fsutil dirty set %SystemDrive%
  ) else (
  	echo %CUR_DATE% %TIME%    No errors found on %SystemDrive%. Skipping full chkdsk at next reboot.>> "%LOGPATH%\%LOGFILE%"
  	echo %CUR_DATE% %TIME%    No errors found on %SystemDrive%. Skipping full chkdsk at next reboot.
  