anchor.diff:  @echo off
   %SystemDrive% && cls
   set SCRIPT_VERSION=3.5.6
  -set SCRIPT_UPDATED=2015-09-17
  +set SCRIPT_UPDATED=2015-09-18
   :: 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%
  
positive.code: :: Purpose:       Temp file cleanup
  :: Requirements:  Admin access helps but is not required
  :: Author:        reddit.com/user/vocatus ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  :: Version:       3.5.6 * Merge nemchik's pull request to delete .blf and.regtrans-ms files (ported from TRON project)
  ::                3.5.5 + Add purging of additional old Windows version locations (left in place from Upgrade installations)
  ::                3.5.4 + Add purging of queued Windows Error Reporting reports. Thanks to /u/neonicacid
  ::                3.5.3 * Add removal of C:\HP folder
  
negative.code: :: 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
  	)
  ) else (
  	for /D %%x in ("%SystemDrive%\Users\*") do ( 
  		del /F /Q "%%x\AppData\Local\Temp\*" 2>NUL
  		del /F /Q "%%x\AppData\Roaming\Microsoft\Windows\Recent\*" 2>NUL
  		del /F /Q "%%x\AppData\Local\Microsoft\Windows\Temporary Internet Files\*" 2>NUL
  		del /F /Q "%%x\My Documents\*.tmp" 2>NUL
  		del /F /Q "%%x\AppData\LocalLow\Sun\Java\*" 2>NUL
  		del /F /Q "%%x\AppData\Roaming\Adobe\Flash Player\*" 2>NUL
  		del /F /Q "%%x\AppData\Roaming\Macromedia\Flash Player\*" 2>NUL
  		del /F /Q "%%x\AppData\Local\Microsoft\Windows\*.blf" 2>NUL
  		del /F /Q "%%x\AppData\Local\Microsoft\Windows\*.regtrans-ms" 2>NUL
  		del /F /Q "%%x\*.blf" 2>NUL
  