Copy file based on match name file
Posted: 11 Nov 2010 01:29
Hello Everybody,
I have a lot file named:
aa1.bb5.ccc.001
aa2.bb6.ccc.010
aa3.bb7.ddd.123
aa4.bb8.ddd.456
Executing a batch passing a parameter equal 3 qualifier (ccc or ddd) I-d like to copy all the files that are equal in 3 qualifier, like this example
run_batch.bat ccc
result ccc (name file) given from file aa1.bb5.ccc.001+aa2.bb6.ccc.010
Regards
Dario
I have a lot file named:
aa1.bb5.ccc.001
aa2.bb6.ccc.010
aa3.bb7.ddd.123
aa4.bb8.ddd.456
Executing a batch passing a parameter equal 3 qualifier (ccc or ddd) I-d like to copy all the files that are equal in 3 qualifier, like this example
run_batch.bat ccc
result ccc (name file) given from file aa1.bb5.ccc.001+aa2.bb6.ccc.010
Regards
Dario