We help IT Professionals succeed at work.
Get Started

Copying specific files to specific folder using Robocopy

la-tempestad
la-tempestad asked
on
586 Views
Last Modified: 2012-05-09
Hi,

I have 1000 of files which having filenames like under the folder \\<filer>\Edtion\
 20100618_Sports_Live_ep01.txt,ep02.txt,ep03.txt
 20100618_Office_Live_ep01.tx,ep02.txt,ep03.txt
 20100618_General_Live_ep01.txt,ep02.txt,ep03.txt
 20100618_Magazine_Live_ep01.txt,ep02.txt,ep03.txt
 20100618_Misc_Live_ep01.txt,ep02.txt,ep03.txt


\\<filer>\Edtion\Sports
\\<filer>\Edtion\General
\\<filer>\Edtion\Magazine
\\<filer>\Edtion\Misc etc..
 
So how can I use Robocopy function to search for particluar string on each files eg:-Sport,News etc
and extract/move the specific files to relevant folders.

Thanks

la
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE