136293
Goto Top

Download per Batch auf max. 5 begrenzen!

Hallo!
Mein Name ist Tabea und ich möchte wenn möglich den Download auf max. 5 begrenzen!

:download
ping /n 5 localhost >nul
echo/

if %myprogrammist2% EQU 99 goto nomyprogramm

echo ****************************************
echo *                                      *

if %myprogrammist2% GTR 100 (
echo *   myprogramm from %myprogrammist2%       *
) else (
echo *   myprogramm 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%\prgn\etw2\update\ETW2%cat%%version%.exe (
goto loopb
) else (
wget.exe -q -c http://myhomepage/update/myprogramm/%versiondir%/ETW2%cat%%version%.exe -P %drv%\prgn\ETW2\update
)
)
if %cat% lss 200 goto loopb

Über eine Korrektur würde ich mich freuen da ich nicht vor habe das Scriptschreiben zu erlernen! face-smile

Vielen Dank im Voraus
Tabea

Content-Key: 375183

Url: https://administrator.de/contentid/375183

Printed on: April 24, 2024 at 18:04 o'clock

Mitglied: 136166
136166 May 26, 2018 updated at 09:52:54 (UTC)
Goto Top
Aha, da kommt wieder unser illegaler mit neuem Account ...
Sehr schlecht getarnt.
da ich nicht vor habe das Scriptschreiben zu erlernen!
No comment.