anchor.diff:  echo:It is extremely recommended to update the plugin for Far Manager
   echo:
   
  -:: How to check if file is locked
  -:: http://stackoverflow.com/a/24994480/3627676
  -powershell -NoLogo -NoProfile -Command "try { [IO.File]::OpenWrite('%far_ConEmuFile%').Close(); } catch { exit 1; }" && call :conemu_plugin_del && call :conemu_plugin_copy && goto :EOF
  +call :conemu_plugin_lockstate && call :conemu_plugin_del && call :conemu_plugin_copy && goto :EOF
   
   echo:
   echo:Perhaps, the plugin is locked by another application (Far Manager or 
  
positive.code: set "far_ConEmuFile=%far_ConEmuDir%\ConEmu.dll"
  set "far_ConEmuBuild="
  
  set "far_cmd_del=rd /s /q "%far_ConEmuDir%""
  set "far_cmd_copy=robocopy "%ConEmuDir%\plugins\ConEmu" "%far_ConEmuDir%" /S /E >nul"
  
  
negative.code: 	echo:No ConEmu plugin found
  	echo:
  	call :conemu_plugin_copy
  	goto :EOF
  )
  
  