anchor.diff:  ::                 - /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
  +:: Version:       1.8.1 ! BUG FIX:     Fix crash error on unescaped "*" character
  +::                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
  
positive.code:     :: Dump list of users to a file, then iterate through the list of profiles deleting the respective AU folder
      dir "%SystemDrive%\Documents and Settings\" /B > %TEMP%\userlist.txt
      for /f "tokens=* delims= " %%a in (%TEMP%\userlist.txt) do (
  		if exist "%SystemDrive%\Documents and Settings\%%a\AppData\LocalLow\Sun\Java\AU" rmdir /S /Q "%SystemDrive%\Documents and Settings\%%a\AppData\LocalLow\Sun\Java\AU" 2>NUL
  	)
      for /D /R "%SystemDrive%\Documents and Settings\" %%b in (jre*) do if exist "%%x" rmdir /S /Q "%%b" 2>NUL
  ) else (
  	:: ALL OTHER VERSIONS OF WINDOWS
      :: Dump list of users to a file, then iterate through the list of profiles deleting the respective AU folder
      dir %SystemDrive%\Users /B > %TEMP%\userlist.txt
      for /f "tokens=* delims= " %%a in (%TEMP%\userlist.txt) do (
  		if exist "%SystemDrive%\Users\%%a\AppData\LocalLow\Sun\Java\AU" rmdir /S /Q "%SystemDrive%\Users\%%a\AppData\LocalLow\Sun\Java\AU" 2>NUL
  		)
      :: Get the other JRE directories
      for /D /R "%SystemDrive%\Users" %%b in (jre*) do rmdir /S /Q "%%b" 2>NUL
      )
  
  :: Miscellaneous stuff, sometimes left over by the installers
  
negative.code: :: Thanks to /u/GoogleDrummer for this section
  regedit /e "%TEMP%\dump.txt" HKEY_CLASSES_ROOT\Installer\Products
  find "HKEY_CLASSES_ROOT\Installer\Products\4EA42A62" "%TEMP%\dump.txt" > "%TEMP%\keys_to_delete.txt"
  for /f "delims=[]" %%i in (%TEMP%\keys_to_delete.txt) do reg delete "%%i" /f >> "%LOGPATH%\%LOGFILE%" 2>NUL
  del "%TEMP%\dump.txt" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  del "%TEMP%\keys_to_delete.txt" >> "%LOGPATH%\%LOGFILE%" 2>NUL
  
  
  
  