136293
May 26, 2018, updated at May 27, 2018 (UTC)
1113
1
0
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!
Über eine Korrektur würde ich mich freuen da ich nicht vor habe das Scriptschreiben zu erlernen!
Vielen Dank im Voraus
Tabea
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!
Vielen Dank im Voraus
Tabea
Please also mark the comments that contributed to the solution of the article
Content-Key: 375183
Url: https://administrator.de/contentid/375183
Printed on: April 24, 2024 at 18:04 o'clock
1 Comment
Aha, da kommt wieder unser illegaler mit neuem Account ...
Sehr schlecht getarnt.
Sehr schlecht getarnt.
da ich nicht vor habe das Scriptschreiben zu erlernen!
No comment.