anchor.diff:  		del /F /Q "%%x\Local Settings\Temporary Internet Files\*" >> %LOGPATH%\%LOGFILE% 2>NUL
   		del /F /Q "%%x\Local Settings\Application Data\ApplicationHistory\*">> %LOGPATH%\%LOGFILE% 2>NUL
   		del /F /Q "%%x\My Documents\*.tmp" >> %LOGPATH%\%LOGFILE% 2>NUL
  -		del /F /S /Q "%%x\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache\*" >> %LOGPATH%\%LOGFILE% 2>NUL
  +		:: some reports of this messing up Chrome by forcing a hard reset of its cache. It apparently still tries to read from cache when it's been manually cleared.
  +		::del /F /S /Q "%%x\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache\*" >> %LOGPATH%\%LOGFILE% 2>NUL
   		del /F /S /Q "%%x\Local Settings\Application Data\Google\Chrome\User Data\Default\Local Storage\*" >> %LOGPATH%\%LOGFILE% 2>NUL
       )
   )
  
positive.code: :::::::::::::::::::::
  @echo off
  %SystemDrive% && cls
  set SCRIPT_VERSION=3.4.5
  set SCRIPT_UPDATED=2014-10-02
  :: Get the date into ISO 8601 standard date format (yyyy-mm-dd) so we can use it
  FOR /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a
  set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2%
  
negative.code: 
  :: Internet Explorer cleanup
  rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 4351
  
  :: Windows.old cleanup (Windows.old is left behind after an upgrade installation). Thanks to /u/bodkov
  if exist %SystemDrive%\Windows.old\ (
  	takeown /F %SystemDrive%\Windows.old\* /R /A
  	echo y| cacls %SystemDrive%\Windows.old\*.* /C /T /grant administrators:F
  	rmdir /S /Q %SystemDrive%\Windows.old\
  	)
  
  ::::::::::::::::::::::
  :: Version-specific :: (these jobs run depending on OS version)
  