mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 21:55:15 -05:00
14 lines
221 B
Batchfile
14 lines
221 B
Batchfile
|
:: Usage:
|
||
|
:: call download-file.bat url file
|
||
|
|
||
|
if "%~2"=="" (
|
||
|
echo.
|
||
|
echo Parameter error.
|
||
|
exit /B 1
|
||
|
)
|
||
|
|
||
|
::"%EnvCurlExe%" -L -k "%~1" -o "%~2"
|
||
|
"%EnvWgetExe%" --continue "%~1" --output-document="%~2"
|
||
|
|
||
|
exit /B %ERRORLEVEL%
|