anchor.diff:  :: Prep :: -- Don't change anything in this section
   ::::::::::
   @echo off
  -set SCRIPT_VERSION=1.1.0
  -set SCRIPT_UPDATED=2016-08-30
  +set SCRIPT_VERSION=1.0.2
  +set SCRIPT_UPDATED=2020-02-05
   :: 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: :: VARIABLES :: -- Set these to your desired values
  :::::::::::::::
  :: Log location and name. Do not use trailing slashes (\)
  set LOGPATH=%SystemDrive%\Logs
  set LOGFILE=
  
  :: Package to install. Do not use trailing slashes (\)
  set BINARY=npp.7.3.3.Installer.exe
  set FLAGS=/S
  
  :: Create the log directory if it doesn't exist
  if not exist %LOGPATH% mkdir %LOGPATH%
  
  
  ::::::::::::::::::
  :: INSTALLATION ::
  ::::::::::::::::::
  :: These lines attempt to kill any running instances first
  taskkill /f /im notepad++.exe /t 2>NUL
  wmic process where name="notepad++.exe" call terminate 2>NUL
  
  :: Install the package from a local directory (if all files are in the same directory)
  "%BINARY%" %FLAGS%
  
  :: Create allowAppDataPlugins.xml file so plugins are installed to %appdata%. Thanks to /u/ObiWanBaloney
  if exist "%ProgramFiles%\Notepad++" copy NUL "%ProgramFiles%\Notepad++\allowAppDataPlugins.xml"
  if exist "%ProgramFiles(x86)%\Notepad++" copy NUL "%ProgramFiles(x86)%\Notepad++\allowAppDataPlugins.xml"
  
negative.code: 	if exist "%ALLUSERSPROFILE%\Start Menu\Programs\Notepad++" rmdir /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\Notepad++" 
  )
  
  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
  
  