anchor.diff:  :::::::::::::::::::::
   :: PREP AND CHECKS ::
   :::::::::::::::::::::
  -@echo off
  -set SCRIPT_VERSION=1.8.0
  -set SCRIPT_UPDATED=2015-12-03
  +@echo off && cls
  +set SCRIPT_VERSION=1.8.1
  +set SCRIPT_UPDATED=2016-01-22
   :: 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%
  
positive.code: ::                 - /u/MrYiff          : bug fix related to OS_VERSION variable
  ::                 - /u/cannibalkitteh  : additional registry & file cleaning locations
  ::                 - forums.oracle.com/people/mattmn : a lot of stuff from his Java removal script
  :: Version:       1.8.0 ! BUG FIX:     Fix uncommon failure where JRE uninstallers fail because they can't find certain files. Thanks to /u/GoogleDrummer
  ::                      * IMPROVEMENT: Import logging function used in Tron and convert all double "echo" statements to log calls
  ::                      * COMMENTS:    Minor comment cleanup
  ::                1.7.2 * IMPROVEMENT: Add section to remove leftover symlinks in PATH folder to JRE exes. Thanks to /u/turnerf
  
negative.code: 
  :: Nuke 32-bit Java installation directories
  if exist "%ProgramFiles(x86)%" (
  	call :log "%CUR_DATE% %TIME%   Removing '%ProgramFiles(x86)%\Java\jre*' directories..."
  	for /D /R "%ProgramFiles(x86)%\Java\" %%x in (j2re*) do if exist "%%x" rmdir /S /Q "%%x">> "%LOGPATH%\%LOGFILE%"
  	for /D /R "%ProgramFiles(x86)%\Java\" %%x in (jre*) do if exist "%%x" rmdir /S /Q "%%x">> "%LOGPATH%\%LOGFILE%"
  	if exist "%ProgramFiles(x86)%\JavaSoft\JRE" rmdir /S /Q "%ProgramFiles(x86)%\JavaSoft\JRE" >> "%LOGPATH%\%LOGFILE%"
  	)
  
  :: Nuke 64-bit Java installation directories
  call :log "%CUR_DATE% %TIME%   Removing '%ProgramFiles%\Java\jre*' directories..."
  for /D /R "%ProgramFiles%\Java\" %%x in (j2re*) do if exist "%%x" rmdir /S /Q "%%x">> "%LOGPATH%\%LOGFILE%"
  for /D /R "%ProgramFiles%\Java\" %%x in (jre*) do if exist "%%x" rmdir /S /Q "%%x">> "%LOGPATH%\%LOGFILE%"
  if exist "%ProgramFiles%\JavaSoft\JRE" rmdir /S /Q "%ProgramFiles%\JavaSoft\JRE" >> "%LOGPATH%\%LOGFILE%"
  