Created
May 15, 2018 15:48
-
-
Save marczykm/4f76c71c761b6771adf1dee664d33865 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| taskkill /f /im vivaldi.exe | |
| cls | |
| cd %localappdata%\Vivaldi\User Data | |
| echo Tworze kopie profilu... | |
| jar -cMf vivaldi_profile_backup.zip Default | |
| if %ERRORLEVEL% EQU 0 ( | |
| move /Y vivaldi_profile_backup.zip D:\vivaldi_backup\profile_%date:~-10,4%%date:~-5,2%%date:~-2,2%_%time:~0,2%%time:~3,2%%time:~6,2%.zip | |
| ) else ( | |
| echo OPERACJA ZAKOŃCZONA NIEPOWODZENIEM | |
| pause | |
| ) | |
| start /MAX "" "C:\Users\Marcin\AppData\Local\Vivaldi\Application\vivaldi.exe" | |
| start "" "D:\vivaldi_backup" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment