Created
March 28, 2020 13:55
-
-
Save manualbashing/e9a2437c6c2f519ea640d71bd41c2528 to your computer and use it in GitHub Desktop.
Robocopy simple backup
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 | |
| cls | |
| echo Backup starten? ([y]/n) | |
| set INPUT= | |
| set /P INPUT=Type input: %=% | |
| If /I "%INPUT%"=="n" goto end | |
| Robocopy A:\ B:\ /MIR /w:5 /r:5 /Z /V /NFL /NDL /XD "$RECYCLE.BIN" "System Volume Information" | |
| :end | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment