Re: Sophisticated(!) copying in DOS
- From: RJB <RJB@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 May 2005 15:26:02 -0700
Which begs the next question...
What is this "file listing" of which you speak? Is that like a mini-batch
file?
Thanks!
"Bob I" wrote:
> Xcopy with the /exclude switch. Make a file listing what to exclude and
> then use that as "file1" in the parameter list
>
> see XCOPY /?
>
> RJB wrote:
>
> > Let's say I have ten files in a subdirectory, and I want to write a batch
> > file to copy ONLY five of them...
> >
> > The five I do NOT want to copy all start with the same letters in their
> > filenames. The five I DO want to copy are all different. I cannot change this
> > attribute, or the subdirectory in which they are stored.
> >
> > In other words, I have the following files:
> >
> > ABC Jackson.fil
> > ABC Smith.fil
> > ABC Alias.fil
> > ABC Lost.fil
> > ABC Polar.fil
> > Ice Cream.fil
> > Pizza.fil
> > Beer.fil
> > Accounts.fil
> > Salary.fil
> >
> > I want to write a script that will copy "Ice Cream", "Pizza", "Beer",
> > "Accounts", and "Salary", but that will SKIP the "ABC Jackson", "ABC Alias",
> > etc.
> >
> > I know if I did "copy ABC*.fil" it would do the EXACT OPPOSITE of what I
> > want... Is there a "contra"command that would pull this off?
> >
> > Thanks!
>
>
.
- Follow-Ups:
- Re: Sophisticated(!) copying in DOS
- From: Bob I
- Re: Sophisticated(!) copying in DOS
- References:
- Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- From: Bob I
- Sophisticated(!) copying in DOS
- Prev by Date: Re: F3 command?
- Next by Date: Re: F3 command?
- Previous by thread: Re: Sophisticated(!) copying in DOS
- Next by thread: Re: Sophisticated(!) copying in DOS
- Index(es):
Relevant Pages
|