You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
medicat_installer/download/cdn.bat

43 lines
838 B
Batchfile

@echo off
2 years ago
:check
cls
set size=0
set propersize=22994783619
call :filesize "MediCat.USB.v21.12.7z"
if "%size%" == "%propersize%" (goto done)
)
1 year ago
2 years ago
:download
1 year ago
echo.Please note download speeds are currently limited due to high traffic
echo.Consider using the torrent as it will be a faster option
sleep 3 > nul
2 years ago
echo.Downloading from Medicat server.
1 year ago
curl -# -L -o MediCat.USB.v21.12.7z -C - https://files.medicatusb.com/files/v21.12/MediCat.USB.v21.12.7z
1 year ago
1 year ago
2 years ago
:done
cls
echo.Completed Downloading, Checking File Size.
set size=0
call :filesize "MediCat.USB.v21.12.7z"
if "%size%" == "%propersize%" (goto exit)
echo.the file doesnt appear to be complete.
timeout 3 > nul
goto check
:exit
echo.File Appears to be downloaded successfully.
timeout 5 > nul
2 years ago
exit /b
:filesize
set size=%~z1
exit /b 0