@echo off
cd %~dp0
rem del *.m3u
:L
wget.exe -e http_proxy=127.0.0.1:4444 --output-document=ttv-http.m3u -P \ "http://omt56v4jxa4hurbwk44vqbbcwn3eavuynyc24c25cy7grucjh24q.b32.i2p/trash/ttv-list/ace.all.iproxy.m3u?ip=127.0.0.1:6878&format=http"
rem echo wget.exe....
if not exist "ttv-http.m3u" (echo "m3u" no exist--goto :L)&(timeout /t 120)&(goto :L)
if exist "ttv-http.m3u" (echo "m3u" exist)
for %%i in ("ttv-http.m3u") do set size=%%~zi
echo "m3u" RAZMER=%size% Byte
rem if %size% LSS 1000 (echo "m3u" RAZMER=%size% Byte MENCHE 1000 Byte--goto :L)&(timeout /t 120)&(goto :L)
rem if %size% GTR 1000 (echo "m3u" RAZMER=%size% Byte BOLCHE 1000 Byte--exit!!)
if %size% EQU 0 (echo "m3u" PUSTOI!! RAZMER=0 Byte--goto :L)&(timeout /t 120)&(goto :L)
if %size% NEQ 0 (echo "m3u" RAZMER=%size% Byte NE RAVEN 0 Byte--exit!!)
COPY /Y "ttv-http.m3u" "m3u/ttv-http.m3u"
rem move /Y "ttv-http.m3u" "m3u/ttv-http.m3u"
rem pause
exit