Retrieve filenames from all subdirectories

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Smith via .NET 247

    #1

    Retrieve filenames from all subdirectories

    Hi I am trying to write some code which allow me to specify a toplevel (parent) directory. Then the program needs to be able toshow every filename (fullpath) in all subdirectories. It shouldinclude every single file, subdirectories may be any number oflevels. Code is VB.NET.


    --------------------------------
    From: Thomas Smith

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>hMl8YUR8R06 mQxB7pOcABA==</Id>
  • Herfried K. Wagner [MVP]

    #2
    Re: Retrieve filenames from all subdirectories

    "Thomas Smith via .NET 247" <anonymous@dotn et247.com> schrieb:[color=blue][color=green][color=darkred]
    >>>Hi I am trying to write some code which allow me to specify a top level
    >>>(parent) directory. Then the program needs to be able to show every
    >>>filename (fullpath) in all subdirectories. It should include every single
    >>>file, subdirectories may be any number of levels.<<<[/color][/color][/color]

    <URL:http://dotnet.mvps.org/dotnet/samples/filesystem/FileSystemEnume rator.zip>

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    Working...