besteht die Möglichkeit den Download auf max. 5 zu begrenzen? Wenn ja, wie müsste das Script aussehen!?
:download ping /n 5 localhost >nul echo/ if %myprogrammist2% EQU 99 goto nomyprogramm echo **************************************** echo * * if %myprogrammist2% GTR 100 ( echo * myprogramm Update from %myprogrammist2% * ) else ( echo * myprogramm Update from %myprogrammist2% * ) set /a cat=%myprogrammist2% :loopb set /a cat=%cat%+1 wget --spider -o download http://myhomepage/update/myprogramm/%versiondir%/ETW2%cat%%version%.exe findstr /m "Length:" download if %errorlevel%==1 ( echo * myprogramm complete * echo * * echo **************************************** goto ETW3 ) else ( if exist %drv%\sylt\ETW2\update\ETW2%cat%%version%.exe ( goto loopb ) else ( wget.exe -q -c http://myhomepage/update/myprogramm/%versiondir%/ETW2%cat%%version%.exe -P %drv%\sylt\ETW2\update ) ) if %cat% lss 200 goto loopb
Für Eure Hilfe bedanke ich mich im Voraus