Re: Sophisticated(!) copying in DOS



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!
>
>
.



Relevant Pages

  • Re: Sophisticated(!) copying in DOS
    ... At the risk of being redundantly monotonous and obtuse: ... Create a notepad file ... ABC Jackson.fil ... In the xcopy command, ...
    (microsoft.public.windowsxp.general)
  • Bing Crosby Pro-Am
    ... Remember when Jim McKay and Chris Schenkel covered it every year for ABC? ... When Jack Nicklaus paired with the likes of Jack Lemmon--Arnold Palmer with ... Bob Hope--a young skinny Johnny Miller with Dean Martin? ...
    (rec.sport.golf)
  • Re: eregi_replace returns only lowercase
    ... Bob schreef: ... where I would like to see 'abc' in uppercase. ... When he fills in 'abc' (lowercase, what most people do with key-words) php returns with 'abc'. ...
    (comp.lang.php)
  • Re: Sophisticated(!) copying in DOS
    ... Xcopy with the /exclude switch. ... Make a file listing what to exclude and ... ABC Jackson.fil ...
    (microsoft.public.windowsxp.general)
  • Re: eregi_replace returns only lowercase
    ... Bob wrote: ... $string = "This is for ABC only" ... where I would like to see 'abc' in uppercase. ... before and after your user input, i.e.: ...
    (comp.lang.php)