set "filePathL2=tmp\checkL2.txt"
if exist "%filePathL2%" del "%filePathL2%" /f /q
wimlib-imagex dir *.wim 1 --path="\Windows\L2Schemas" > "%filePathL2%" 2>nul
find /i ".xsd" "%filePathL2%" >nul 2>&1
if errorlevel 1 if not errorlevel 2 (
if not exist ".\bat\files_L2Schemas.bat" (
set "Bone_DWM=1"
)
)
if exist ".\bat\files_3389.bat" set "Luxury_S-A=1"