| Re: xcopy command line for files and folders The date and time was Friday, June 12, 2009 7:15:02 AM, and on a whim,
Jose pounded out on the keyboard:
> 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.
>
That's the way I've been doing it for the last few months.
> 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?
Yes.
>
> 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.
>
That's why I wanted to implement a batch file instead. Doing all the
copying of different files/folders to 2 different external drives takes
a very long time, and if I'm not there when one operation ends, it sits
there idle until I start the next copy.
> Unless there is some reason you think you need to use XCOPY, then
> maybe you could explain that to better understand your goal.
The above should explain it.
Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply. |