Last active
December 5, 2020 23:51
-
-
Save Nathan2055/6d6be354a35f2fd07b77bd155a13f8e9 to your computer and use it in GitHub Desktop.
Script for fixing Windows permissions and copying over data from my old external hard drive
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
icacls F: /setowner "Administrators" /T /C | |
takeown /R /F F: | |
icacls F: /t /c /GRANT Everyone:F | |
robocopy /ZB /E /COPY:DT /DCOPY:DT F: "G:\Data from Old Disk Images\8 - 2019-06-18 - Samsung HDD" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment