@echo off :: StartIsBackPlusPlus set "do-size=0" set "a1=StartIsBackPlusPlus_setup.exe" if exist "%a1%" ( for %%i in ("%a1%") do set "do-size=%%~zi" ) call uni-dload.cmd %a1% https://www.startisback.com/StartIsBackPlusPlus_setup.exe %do-size% exit /b
Вначале защита от дурака: - админ-права для установки - система Win10 - программа еще не установлена фрагмент кода от Ander_73
>nul 2>&1 dism|| (echo Admin rights required!& goto quit) ver| >nul find "10.0."|| (echo Windows 10 only.& goto quit) set x=& if defined ProgramFiles(x86) set "x= (x86)" if exist "%ProgramFiles%%x%\StartIsBack\StartIsBackCfg.exe" echo StartIsBack already installed.& goto quit
dimo70, тебе Ander_73 дал батник .. как пример из высшей математики. понятно, мы инженегры и много не соображаем, но интуитивно понимаем .. вырезай фрагмент из кода, где пишется за кряк и вставляй его в свой, написанный тобой батник.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum