@echo off
for /f "usebackq tokens=2 delims=-" %%i in ("index.html") do (
echo %%i >>result.txt
)
APP4
@echo off
for /f "usebackq tokens=1,2 delims=-" %%i in ("index.html") do (
echo "%%i" | find /i "app4" >nul 2>&1 && (
echo %%j >>result.txt
)
)