Windows xcopy cheatsheets
Copy the file(s) to the specified destination:
xcopy {{path/to/file_or_directory}} {{path/to/destination}}List files that will be copied before copying:
xcopy {{path/to/file_or_directory}} {{path/to/destination}} /pCopy the directory structure only, excluding files: xcopy {{path/to/file_or_directory}} {{path/to/destination}} /t
Include empty directories when copying: xcopy {{path/to/file_or_directory}} {{path/to/destination}} /e
Keep the source ACL in the destination:
xcopy {{path/to/file_or_directory}} {{path/to/destination}} /oAllow resuming when network connection is lost:
xcopy {{path/to/file_or_directory}} {{path/to/destination}} /zDisable the prompt when the file exists in the destination:
xcopy {{path/to/file_or_directory}} {{path/to/destination}} /yDisplay detailed usage information:
xcopy /?tldr WindRefer: Windows xcopy cheatsheets