anchor.diff:  :: so if we don't find "Microsoft" in the first 9 characters we can safely assume we're not on XP/2k3.
   if /i "%WIN_VER:~0,9%"=="Microsoft" (
   	for /D %%x in ("%SystemDrive%\Documents and Settings\*") do (
  -		del /F /Q "%%x\Local Settings\Temp\*" 2>NUL
  -		del /F /Q "%%x\Recent\*" 2>NUL
  -		del /F /Q "%%x\Local Settings\Temporary Internet Files\*" 2>NUL
  -		del /F /Q "%%x\Local Settings\Application Data\ApplicationHistory\*" 2>NUL
  -		del /F /Q "%%x\My Documents\*.tmp" 2>NUL
  -		del /F /Q "%%x\Application Data\Sun\Java\*" 2>NUL
  -		del /F /Q "%%x\Application Data\Adobe\Flash Player\*" 2>NUL
  -		del /F /Q "%%x\Application Data\Macromedia\Flash Player\*" 2>NUL
  +		del /F /Q "%%x\Local Settings\Temp\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /Q "%%x\Recent\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		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 /Q "%%x\Application Data\Sun\Java\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /Q "%%x\Application Data\Adobe\Flash Player\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /Q "%%x\Application Data\Macromedia\Flash Player\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
   	)
   ) else (
   	for /D %%x in ("%SystemDrive%\Users\*") do (
  -		del /F /S /Q "%%x\*.blf" 2>NUL
  -		del /F /S /Q "%%x\*.regtrans-ms" 2>NUL
  -		del /F /S /Q "%%x\AppData\LocalLow\Sun\Java\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Cache\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\JumpListIconsOld\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\JumpListIcons\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Local Storage\http*.*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Media Cache\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Internet Explorer\Recovery\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Terminal Server Client\Cache\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Caches\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Explorer\*" 2>NUL
  +		del /F /S /Q "%%x\*.blf" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\*.regtrans-ms" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\LocalLow\Sun\Java\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Cache\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\JumpListIconsOld\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\JumpListIcons\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Local Storage\http*.*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Google\Chrome\User Data\Default\Media Cache\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Internet Explorer\Recovery\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Terminal Server Client\Cache\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Caches\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Explorer\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
   		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\History\low\*" /AH 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\INetCache\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Temporary Internet Files\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\WebCache\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Local\Temp\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Roaming\Adobe\Flash Player\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Roaming\Macromedia\Flash Player\*" 2>NUL
  -		del /F /S /Q "%%x\AppData\Roaming\Microsoft\Windows\Recent\*" 2>NUL
  -		del /F /S /Q "%%x\Recent\*" 2>NUL
  -		del /F /Q "%%x\Documents\*.tmp" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\INetCache\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\Temporary Internet Files\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Microsoft\Windows\WebCache\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Local\Temp\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Roaming\Adobe\Flash Player\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Roaming\Macromedia\Flash Player\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\AppData\Roaming\Microsoft\Windows\Recent\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /S /Q "%%x\Recent\*" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  +		del /F /Q "%%x\Documents\*.tmp" >> "%LOGPATH%\%LOGFILE%" 2>NUL
   		:: Internet Explorer cleanup
   		rundll32.exe inetcpl.cpl,ClearMyTracksByProcess 4351
   	)
  
positive.code: )
  
  echo   Done. && echo.
  echo   Done.>> %LOGPATH%\%LOGFILE% && echo. >>%LOGPATH%\%LOGFILE%
  
  ::::::::::::::::::::::::::
  :: Cleanup and complete ::
  
negative.code: :::::::::::::::::::::
  @echo off
  %SystemDrive% && cls
  set SCRIPT_VERSION=3.7.0
  set SCRIPT_UPDATED=2016-05-10
  :: Get the date into ISO 8601 standard 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%
  
  title [TempFileCleanup v%SCRIPT_VERSION%]
  
  
  :::::::::::::::::::::::
  :: LOG FILE HANDLING ::
  