Echo Преобразование имен в верхний регистр.

"%~1\BIN\FILECASE.EXE" /H /D /U /Q "%DISTR%\*.*"
"%~1\BIN\FILECASE.EXE" /S /H /D /U /Q "%AMD64%\*.*"
"%~1\BIN\FILECASE.EXE" /S /H /D /U /Q "%I386%\*.*"

If Exist "%AMD64%\ADDONS.LST" (
  If Exist "%~dp0ADDONS.LST" Del "%~dp0ADDONS.LST"  
  For /F "Delims= " %%I In (%AMD64%\ADDONS.LST) Do (
    If Not "%%I"=="Addons\%~nx1" Echo %%I>>"%~dp0ADDONS.LST"
  )
  Type "%~dp0ADDONS.LST" >"%AMD64%\ADDONS.LST"
)
