Computer Hope

Microsoft => Microsoft DOS => Topic started by: 99mustang232 on July 29, 2004, 08:38:39 AM

Title: xcopy help
Post by: 99mustang232 on July 29, 2004, 08:38:39 AM
is there any way to use the xcopy or another command to copy files from a pc based on file extension and not retian the file structure when puting them in the destination.  would like to copy all files from one computer with the same file type to one directory without making all of the file structure sub-directories.
Title: Re: xcopy help
Post by: MalikTous on July 29, 2004, 01:09:09 PM
If the directory structure is stable and known, you could use a batch script to copy from each directory to a single destination. Otherwise, xcopy is designed to copy the file tree along with the files to a destination.