Victor_VG
Tracker Mod | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору @echo off setlocal enableextensions set err=0 if "%~2" == "" (if "%~1" == "" (goto hlp)) if "%~1%" == "--help" (goto hlp) if exist Everything (move /y Everything Everything_old > nul) for %%A in ( ARM.en-US.zip ARM.zip x64-Setup.exe x64.en-US-Setup.exe x64.en-US.zip x64.msi x64.zip x86-Setup.exe x86.en-US-Setup.exe x86.en-US.zip x86.msi x86.zip ) do cURL -C - -RLSs --create-dirs --output ./Everything/Everything-%1.%%A http://www.voidtools.com/Everything-%1.%%A for %%B in ( Everything-SDK.zip Everything.lng.zip Changes.txt ) do cURL -C - -RLSs --create-dirs --output ./Everything/%%B http://www.voidtools.com/%%B if not "%~2" == "" (cURL -C - -RLSs --create-dirs --output ./Everything/ES-%2.zip https://www.voidtools.com/ES-%2.zip) for %%C in ( ARM.en-US.zip ARM.zip x64-Setup.exe x64.en-US-Setup.exe x64.en-US.zip x64.msi x64.zip x86-Setup.exe x86.en-US-Setup.exe x86.en-US.zip x86.msi x86.zip ) do if not exist "Everything\Everything-%1.%%C" (echo Everything-%1.%%C not download. & set err=1 ) for %%D in ( Everything-SDK.zip Everything.lng.zip Changes.txt ) do if not exist "Everything\%%D" (echo %%D not download. & set err=1) if "%~2%" == "" goto nxt if not exist "Everything\ES-%2.zip" (echo ES-%2.zip not download. & set err=1) ;nxt if "%err%" == "1" (echo. & pause & exit /b ) else exit :hlp echo. echo Input parameters is Parm 1 (always required) and Parm 2: echo. echo Param 1 is Everything full version number echo Param 2 is ES full version number echo. echo USAGE: echo. echo EverUpd 1.4.1.777 1.0.0.8 or EverUpd 1.4.1.777 or EverUpd --help echo. pause exit /b | Всего записей: 33230 | Зарегистр. 31-07-2002 | Отправлено: 10:02 12-02-2018 | Исправлено: Victor_VG, 10:53 12-02-2018 |
|