copy mulitiple files an once
Moderator: DosItHelp
copy mulitiple files an once
how to copy multiple files at once? (i dont want to write 463 commands)
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: copy mulitiple files an once
Copy the directory, not the individual files.
Re: copy mulitiple files an once
and is i need to copy files so they are at root directory?
Re: copy mulitiple files an once
That's too less information.
You could use wildcards like asterisks. You could use different commands with different options, such like COPY, XCOPY and ROBOCOPY. You could process the DIR command in a FOR /F loop. You could apply FIND or FINDSTR to the files or to the output of DIR. It depends on whether you want to copy all files in a directory, whether you need to search in sub folders recursively, whether you need to search for files with particular names, extensions, contents, date, etc. ...
Regards
aGerman
You could use wildcards like asterisks. You could use different commands with different options, such like COPY, XCOPY and ROBOCOPY. You could process the DIR command in a FOR /F loop. You could apply FIND or FINDSTR to the files or to the output of DIR. It depends on whether you want to copy all files in a directory, whether you need to search in sub folders recursively, whether you need to search for files with particular names, extensions, contents, date, etc. ...
Regards
aGerman
Re: copy mulitiple files an once
I hate reading small and simply worded replies. Love it when aGerman comes along and blows the newbie's head off with details
it gets the question answered more quickly
