Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- TITLE MKVToolNix Updater by Lapinpt
- echo.
- echo Checking Version
- wget -O- http://www.downloadbestsoft.com/MKVToolNix.html | sed -n "/.7z/p" | cut -d "/" -f3 | cut -d "7" -f1 | sed "s/.$//" > temp
- sed -n "/-/p" temp | cut -c20- > version
- timeout 1 >NUL
- set /p LINK= < temp
- set /p VER= < version
- echo.
- echo Current Version: %VER%
- del sed.exe cut.exe temp version
- timeout 2 >NUL
- echo.
- echo Downloading MKVToolNix
- wget -c -nv http://megui.xvidvideo.ru/auto/%LINK%.7z
- echo.
- echo Extracting MKVToolNix
- 7za x %LINK%.7z -o%VER% -y >NUL
- timeout 2 >NUL
- del *.7Z 7za.exe wget.exe
- echo.
- echo Update Done!
- timeout 4 >NUL
- exit
Advertisement
Add Comment
Please, Sign In to add comment