Created
March 23, 2016 06:01
-
-
Save igorpronin/14e289e0928d95917a58 to your computer and use it in GitHub Desktop.
cmd create network path and copy dir with includes
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
net use X: \\SERVER\Share | |
// привязать к расшареной папке на сетевом ресурсе имя диска (X) | |
xcopy C:\users D:\copy1 /H /Y /C /R /S | |
// скопировать все файлы и подкаталоги ( /S ) с перезаписью существующих без запроса ( /Y ) , включая скрытые и системные. ( /H ) с перезаписью файлов с атрибутом "Только чтение" (/R) и игнорированием ошибок ( /C ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment