G
Guest
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!
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!