Created
October 11, 2015 21:01
-
-
Save scuq/f7e5545d03ee07dd844e to your computer and use it in GitHub Desktop.
backup %appdata% with 7z
This file contains 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
taskkill /F /T /IM firefox.exe | |
taskkill /F /T /IM application.xyz | |
taskkill /F /T /IM application2.xyz | |
set backuplib="z:\backup\" | |
set SAVESTAMP=%DATE:/=-%@%TIME::=-% | |
"7z.exe" a -r %backuplib%appdata_%SAVESTAMP%.7z %appdata% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment