Last active
August 19, 2016 21:03
-
-
Save cjerrington/a725761c43c49becdec11bdbb5921d09 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 | |
| xcopy C:\folder\to\copy D:\Backup\ /D /E /C /H /R /Y /K | |
| rem /D Copies files changed on or after the specified date. | |
| rem /E Copies any subfolder, even if it is empty. | |
| rem /C Continues copying even if errors occur. | |
| rem /H Copies hidden and system files. | |
| rem /R Overwrites read-only files. | |
| rem /Y Overwrites existing files without prompting you. | |
| rem /K Copies attributes. Typical xcopy commands reset read-only attributes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment