I have a directory that is similar to below
c:\docs\P232\\_DOC (NO EXTENSION)
c:\docs\P445\_DOC (NO EXTENSION)
C:\docs\P898\test\393 (notice no _DOC)
and so on, now what i need to do is have my program go through ALL the directories in C:\docs\ and fine all files, if the file name is _Doc , take the file copy it to another directory and rename it. for example for the first one
file will be moved to
c:\rename and will be called P445.doc
and second one will be P898.Doc
third one will not be copied since no _doc.
any idea to get me started?
(Code will be in C#)