Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Copy from multiple directories
Name: skisalomon77 Date: February 20, 2008 at 08:27:17 Pacific OS: XP Pro CPU/Ram: Intel 2.4 GHz and 2GB Product: Dell Optiplex
Comment:
I want to copy files from multiple directories without creating the directory tree. XCOPY /S gets all the files I need, but creates the tree as well. I have 100 subdirectories and every folder contains files beginning with TZ00. I want to copy all of the TZ00 files from every subdirectory into a new folder without creating the directory tree. Is there a way to do this without having to create a batch file containing a copy command for every folder? I don't want to worry about updating the batch file every time I add a new subdirectory.
Summary: I would like to copy files from multiple sub directories to one folder so I used; FOR /R "%1" %%G IN (*.JPG) DO COPY %%G C:\TEST\ However, if files of the same name exist they are overwritten. How ca...
Summary: I would like to create a batch file to copy from one network drive to another. \\Desktop\shareddocs\dir1\file1 to c:\douments and settings\all users\documents\file1. It is to overwrite/update the exis...
Summary: Hello, I'm trying to copy files locally, from one directory to another. Is there a way for me to specify the copy command to copy files by date modified? Example: I want to copy from X directory all t...