| Re: xcopy command line for files and folders On Jun 12, 1:46*am, "Terry R." <F1...@NOSPAMpobox.com> wrote:
> I have a partition that stores video. *I store folders with names like:
> Tape 10
> Tape 10 DL
> Tape 11
> Tape 11 DL
>
> There are also files in the root with various extensions starting with:
> tape 10.avi
> tape 10.avi.index
> tape 10.scn
>
> What is the simplest xcopy command that will copy all the files in the
> root and also copy all the folders to another drive? *I would like to be
> able to use wildcards for the tape numbers (1?) if possible.
>
> Thanks,
>
> Terry R.
> --
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.
Even though I use Windows Explorer with reluctance, have you thought
about using that - bring up your C drive, select (highlight) the
folders you want, copy, paste them to your new drive.
You can select multiple folders by holding down the CTRL key and
clicking them one at a time - do you know how to do stuff like that in
Windows Explorer?
If you select a folder(s), it will take everything under it when you
copy and paste it. Notice I am not saying cut and paste. If you want
to remove the source folders later, that is up to you.
I know how to use XCOPY, but in this case, I might have to go with
Windows Explorer... It is also an easier to comprehend visual
experience than XCOPY.
You might have to make a few passes to get everything - there may not
be a practical method to do it all in one fell swoop.
Unless there is some reason you think you need to use XCOPY, then
maybe you could explain that to better understand your goal. |