Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CD /D D:\docs\programs
- SET chver=0
- DEL LAST_CHANGE
- wget --quiet http://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/LAST_CHANGE > nul
- set /p chver=< LAST_CHANGE
- wget -O "D:\docs\programs\chrome-win32.zip" http://commondatastorage.googleapis.com/chromium-browser-snapshots/Win/%chver%/chrome-win32.zip
- SETLOCAL ENABLEEXTENSIONS
- CD /D D:\docs\programs
- FOR %%X IN (*.zip) DO (
- 7z x -aoa -o"D:\docs\programs\" "%%X" | FIND "Everything is Ok" >nul
- IF ERRORLEVEL 1 (
- ECHO.ERROR EXTRACTING "%%X"
- ) ELSE (
- DEL "%%X"
- )
- )
- DEL LAST_CHANGE
- ENDLOCAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement