anchor.diff:  XCOPY deployment.* %WINDIR%\Sun\Java\Deployment /I /Y
   XCOPY *.sites %WINDIR%\Sun\Java\Deployment /I /Y
   
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
   :: Pop back to original directory. This isn't necessary in stand-alone runs of the script, but is needed when being called from another script
   popd
   
   :: Return exit code to SCCM/PDQ Deploy/etc
  -exit /B %EXIT_CODE%+exit /B %EXIT_CODE%
  
positive.code: :: Prep :: -- Don't change anything in this section
  ::::::::::
  @echo off
  set SCRIPT_VERSION=1.0.1
  set SCRIPT_UPDATED=2017-05-04
  :: 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: :: Purpose:       Installs a package
  :: Requirements:  Run this script with Administrator rights
  :: Author:        vocatus on reddit.com/r/sysadmin ( vocatus.gate@gmail.com ) // PGP key ID: 0x07d1490f82a211a2
  :: History:       1.0.3 + Add proper console and logfile logging
  ::                1.0.2 * Expand JRE8 mask to catch versions over 99 (3-digit identifier vs. 2). Thanks to /u/flash44007
  ::                1.0.0 + Initial write
  
  
  