Using xcopy command

Other topics

Copying multiple files including tree structure

If you want to xcopy files with specific type to a new folder keeping the current folder structure you need only to do this

xcopy [SourcePath]*.mp3 [DestinationPath] /sy

Parameters:

ParameterDetails
/hCopies files with hidden and system file attributes. By default, xcopy does not copy hidden or system files.
/rCopies read-only files.
/sCopies directories and subdirectories, unless they are empty. If you omit /s, xcopy works within a single directory.
/ySuppresses prompting to confirm that you want to overwrite an existing destination file.
/DOrders CMD to only copy files that are newer than their destination opposite.

Contributors

Topic Id: 5123

Example Ids: 18107

This site is not affiliated with any of the contributors.