top of page

Using XCOPY to copy contents of folders - /E

When creating a batch file to copy the entire contents of a folder to a new location with the Windows command XCOPY, add in the operator /E at the end of the script.

This script will copy all of the subfolders, and their contents, at the first listed path, to the second path.

bottom of page