Recursively getting files in a directory with several sub-directories
Posted
by yeahumok
on Stack Overflow
See other posts from Stack Overflow
or by yeahumok
Published on 2010-06-09T17:06:39Z
Indexed on
2010/06/09
17:12 UTC
Read the original article
Hit count: 156
c#
Hello!
I was wondering if anybody here could help me out as I'm still very new to C#. I have a drive with folders w/in folders w/in folders that all contain files. Is there a way to recursively loop through the files and gather up all of these file names into a .txt file?
I'm not sure how to implement this into my Console app--so does anybody have any code that might help?
© Stack Overflow or respective owner