Re: Get files in the current folder and in the sub-folders

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 11/03/04


Date: Wed, 3 Nov 2004 11:58:22 +0100

Li,

For that is the DirectoryInfo class, in this link is more than only the
information about that and as well most links to the solutions you are
probably looking for,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiodirectoryinfoclasstopic.asp

I hope this helps?

Cor

"Li Pang" <LiPang@discussions.microsoft.com>
..
> Hi,
>
> I'd like to know how to get the files in the current folder as well as in
> the sub-folders?
>
> Thanks
>
> Li



Relevant Pages

  • Re: String builder (Parsing vertically presented records)
    ... You can use for that the DirectoryInfo class. ... What I would want is to check if the folder containing the survey text ... create the name of the new string output file. ... equal the name of the original filename plus "strings.txt" They would ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Imagebutton and filesystem
    ... In index write down DirectoryInfo - about DirectoryInfo class. ... "Aaron" wrote in message ... > I have two imagebuttons in my asp.net application. ... > aforementioned folder. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: How to create hidden property directory?
    ... Dim dir As New System.IO.DirectoryInfo ... To create a hidden folder, you can use DirectoryInfo class as follows: ... you can use the code in a Try-Catch block and handling ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Verifying a file path + other file path operations
    ... The path class ... The file class ... The directoryinfo class ... Cor ...
    (microsoft.public.dotnet.general)
  • Re: Sorting files by size
    ... directoryinfo class and the file move, this should be a piece of cake. ... I assume that you know how to sort an array ... Cor ...
    (microsoft.public.dotnet.languages.vb)